32,204 Topics

Member Avatar for
Member Avatar for rdkmini
Member Avatar for darylharkin

i'm currently in the middle of a Java programming assignment, and having quite a spot of bother! for some reason, when i run my code (which has no visible errors), a small window appears with the words Swing Example in blue italics. anyone got any idea what coud be causing …

Member Avatar for darylharkin
0
76
Member Avatar for captain.charli

write java to access classes that are saved in different files. write java code to read following string as input from user. "JaVa-Is-A-pRoGrAmMiNg-LaNgUaGe" Display and convert it into the following format. "Java is a programming Language"

Member Avatar for Phaelax
-1
72
Member Avatar for hlnren

HI everyone, i need to enter all those values and add them up. but have some trouble storing numbers to a array list. plz help~~! [import java.util.*; public class array { public static void main (String []args) { Scanner sc= new Scanner (System.in); int value; System.out.print("How many values are in …

Member Avatar for keya_datta
0
107
Member Avatar for shishir

hello everyone.i have just started programming in EJB.i am tring to make an application for online banking system.During the compilation, i am getting the error of missing return statement in all functions where retrun type is String.i am trying to get the output in a JSP page....here is one of …

Member Avatar for peter_budo
0
145
Member Avatar for peter_budo
Member Avatar for peter_budo
0
204
Member Avatar for nnobakht

Hey guys, i jsut got this assignment and i have 1 week to implement it but i have no idea where to start. The link to the question is [URL="http://www.cs.sfu.ca/%7Emitchell/cmpt-126/a2/a2.pdf"]http://www.cs.sfu.ca/~mitchell/cmpt-126/a2/a2.pdf[/URL] and i have also attached it as a pdf. the Stack class refered to in the assignment is [code] class …

Member Avatar for jwenting
0
114
Member Avatar for san_fran_crisko

Hi, I am trying to store details in a Vector and then recall them using different search categories. I'm getting no errors but the details I enter are either not being stored or not being recalled. I don't know what one it is. I attached the code rather than copy …

Member Avatar for san_fran_crisko
0
108
Member Avatar for san_fran_crisko

Hi, I cannot for the life of me figure out why I keep getting the error message, "cannot find symbol method methodname()" when I try to call methods from another method. I have tried changing the main method so its not static but it makes no difference. Anyone who could …

Member Avatar for san_fran_crisko
0
146
Member Avatar for goutham_see

can anyone give me a detailed importance of sun certificate for java programmer??? What about the job oppurtunities for the person certified??

Member Avatar for jwenting
0
153
Member Avatar for hbk619

ok, i don't know anything of java and somehow managed to DL NetBeans the sun program that creates Java apps... apprently.. (wasn't what i intended to DL but hey :mrgreen: ) A friend wants a card game made, so i searched these forums and found [URL]http://www.daniweb.com/techtalkforums/showthread.php?t=68640&highlight=card+game[/URL] i took the coding …

Member Avatar for hbk619
0
141
Member Avatar for ally1002

[COLOR=#941edf] [/COLOR][COLOR=#941edf]Hello, im new. And I'm kinda stumped. We were given an exercise to do in which the user enters a number in roman numerals and the program converts it to decimal numbers. I have no problem convert if the number given is in the right order from the largest …

Member Avatar for ally1002
0
84
Member Avatar for mzd12111

Hi there Guys i've learned J2SE (standard) version of java nad i enjoy it a lot and i lately wanna to learn Mobile Programming (J2ME) , is this King of programming alike to J2SE , help me if you can , i'll scratch Yours later:p

Member Avatar for Colin Mac
0
102
Member Avatar for mmr23

I need this program for my work. Recently started having problems with the new JRE How can this be fixed? I googled it and see java does not offer answers I use win 2000 IE6 RoadRunner BB and firewall from them CA-EZ Firewall Java(TM) Plug-in: Version 1.4.2_13 Using JRE version …

0
35
Member Avatar for mr.sweetchuck

I'm writing a Java ME app that will access servlets on a tomcat server, (version 5.5) and I'm having a problem. In my client I'm trying to use a HTTP connection to the servlet, like so: [code] if (command == select && currentForm == login) { HttpConnection connection = null; …

0
82
Member Avatar for willhsu87

I have been asked to write a method that prints out the following pattern: XXXXXXX XXXXXX XXXXX XXXX XXX XX X instead of left-justified, i'm supposed to write a "right-justified" pattern. I am not quite sure how i can write codes to insert the " " to get the above …

Member Avatar for ~s.o.s~
0
79
Member Avatar for talablink

i don't know how to add buttons to the code , it already has two buttons on it but i don't know how to add more...i just editted this one i've tried adding one more but it just won't work..it still does two things.. here's the code if you can …

Member Avatar for peter_budo
0
93
Member Avatar for Mr.UNOwen

I'm currently creating a program with some buttons and other stuff and I was wondering how do I create a background image with jframe? I don't see any set method for it. Is the there a way to do it?

Member Avatar for vinod_javas
0
137
Member Avatar for gmunky

I'm working on a program that opens an html text file using a JEditorPane. I can read in the html file but i can't get the hyperlinks to work. I want it so that when the user clicks on a hyperlink word, it will open a different html file in …

Member Avatar for Phaelax
0
144
Member Avatar for sugantha

I am simply inserting a row and it does nt even throw exception but the database is nt getting updated please find out what is wrong with this code import java.sql.*; public class Check { public static void main(String args[]) { try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String dataSourceName = "glad1"; String dbURL = …

Member Avatar for jwenting
0
83
Member Avatar for dowen

{6,12,4,7,9} How do i write a method name serachMax that receives the list above (as an array of integer) as it's argument and return the largest value in the list and How do i create a method name countitem that receives that list above (as a referenced based linked list …

Member Avatar for MacGyver Orca
0
109
Member Avatar for jetyan

just like a no-purpose hunter, I wandering in Java's world;so honestly speaking,I am just a beginner. now I have a puzzle: in a Java program ,there are so many class files that I have no idea how to deal with them. give some advices,thank you!

Member Avatar for jwenting
0
110
Member Avatar for talablink

hello Can anyone please help me I need the code of an analog clock cause i don't know how to make one. I only have the digital clock and I thought it would be better if I used an analog and I can't find a good one. Cause the thing …

Member Avatar for iamthwee
0
64
Member Avatar for tsharma14

Hi Java People, I have one servlet , few JAVASCRIPTS, one JSP page. First when I login some processing is done at back in servlet and some variables are set. after login i enter into main JSP page which contains some BUTTONS. On click of every button I have some …

Member Avatar for jwenting
0
111
Member Avatar for Tekmaven

I'm getting into Java programming, and find myself at a loss for a good Java IDE for Linux. I'm running Mandrake 9.1 (I tried Gentoo, but I'm to much of a n00b to linux) Can you guys suggest any? Note to Dani: I know about Borland's JBuilder, but I want …

Member Avatar for jwenting
0
573
Member Avatar for d_maniger06

good day!.. i have this soap message that will be sent to a simple service provider simulator.. since this is only a simulation, i there will be only one service named leave (e.g. vacation leave, sick leave, etc.) [code] <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://leaveprocessor.blueprints.jbi.sun.com/"> <soapenv:Body> <ns1:processApplication> <appName>applicant</appName> <leaveType>type …

Member Avatar for jwenting
0
109
Member Avatar for Pumbaa_hughes75

need help with command line arguments and creating a package in java. i need to hand this in soon and obviously i cant do it can someone help me.

Member Avatar for Pumbaa_hughes75
0
105
Member Avatar for mapaputsi

Guys please i need help about creating a sequential file using java, im kinda new in this world of java...please!! something like this: int main() { ofstream outclientfile("client.dat", ios::out); if(!outClientFile) { cerr<<"statement"<<endl; exit(1); } cout<<"Enter the account, name and balance."<<endl <<"Enter end-of-file" to end input."; int account; char name[25]; double …

Member Avatar for Phaelax
0
82
Member Avatar for rdhiravani

Hi, I want to know any idea about detecting Socket Block (socket overflowed with lots of data, thus not able to receive any new) & thus automatically flushing it, & get fresh data, without ending client-server connection. Thanks in advance.

0
49
Member Avatar for Anaa

i hav calculated a value(years).Now i want 2 merge it with an attribute of table(ml_y2 wher 2 is year).So i want 2 merge ml_y and 2.then i want 2 find the value of ml_y2 frm a table....plzzzzzzzz help me .can i do somthing like this in MY SQL???

Member Avatar for peter_budo
0
91

The End.