32,204 Topics
| |
Hi Can someone help me, I have been trying to fix this for a while without any luck. I am new to JAVA programming though I have coded in many languages. What I am trying to do is use the JFileChooser class in a Windows 2000 environment, the user can … | |
Hello, I want to know how to return an entire object using API binary search. Not the index of where the object was found but the actual object. My WaketechFile class is just like the File class. Can anyone please help? import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.*; /** … | |
After i establish the connection through url i want to post the data . After posting the data there is no change in client Can anyone help me import java.net.*; import java.io.*; import sun.net.[url]www.http.HttpClient;[/url] import javax.net.ssl.*; public class classname{ public static void main (String[] args) { try { URL u … | |
how to load image in java using applets? if any boby know programs plz help me | |
I am getting this error message please help me solve it [code] F:\JAVA\Java Files\lab 9\MyCustomer.java:19: ';' expected account deposit(500.0); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: not a statement cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:27: ';' expected … | |
Credit card(parent)Debitcard(child). At the file menu if you choose "credit"+"new Account" the parent works fine. At the file menu if you choose "debit"+"new Account" the child does not work. I am haveing trouble creating a new object which is the debit class which uses its super (credit class) Can any … | |
Hi evrybody, as you can see I am new to this comunity and I hope I put this meesage in the right topic.I want to now from where I can get some online tests in jva fundamentals | |
Hi I am making an vending machine application. Now the vending Machine takes 5, 10, 20, 50 pence and 1 pound coins. Now I create a String object and use this to read input from the user i.e. read the denomination (Money e.g. 5 or 10 pence) the user enters. … | |
need help with the GUI of my program... i want it to be like this: [URL=http://img256.imageshack.us/my.php?image=faceeq9.jpg][IMG]http://img256.imageshack.us/img256/8919/faceeq9.th.jpg[/IMG][/URL] but this is what it shows.. hehe [URL=http://img440.imageshack.us/my.php?image=caym9.jpg][IMG]http://img440.imageshack.us/img440/8486/caym9.th.jpg[/IMG][/URL] im having a hard time with the GridLayout coz i think ie. GridLayout 3,4 doesnt appear to be 3,4.. thankss... [CODE]import java.awt.*; import java.awt.event.*; public class … | |
Hi all, I want to appear for the SUN certified Java exam. But I have no idea about it. Please help about it. How i prepare myself for this exam... Please help.... Wating for reply rishi | |
hi, i just want to get some opinions on a queues homework project. i haven't written any code yet, but just want to know if it is possible to create an array[16] items and then that each item has an array[1][3], i have to work independently with each item of … | |
Hi, Is it possible to call the constructur of a java class from a shell script? I know you can call static methods, but can you also call the constructor? Wim. | |
Hi, I am wondering if there is a more graceful manner in which to clear the console window previously printed values apart from using a loop in which the println(); is repeated. Many thanks. | |
I've been trying to work out this error with packages, changing the classpath name in a number of different ways (using set, declaring it in the javac command), but I always get the following errors when I try to compile the following code: import kalut.*; import java.lang.Math.*; public class Koetesti … | |
Hi, I'm looking for a learning tool that helps a student/novice user program (preferably in Java). I know of Jeliot (a visualization program) that attempts to helps student understand how execution occurs. JTest is a professional package that detects error and tends to describe why they occur and how to … | |
can anyone tel wat error i made in the below code..I want to assign the list of strings stored in one variable to one string array.wordlist contains list of variables. [code] for (int s=0; s <=wordlist; s++) { String wordlisting[s]=new wordlist; System.out.println(wordlisting[s]); } [/code] [U]error[/U] D:\program files\Java\jdk1.5.0\bin>javac Main.java Main.java:86: ']' … | |
Hi all, I'm learning Serialization in JAVA . I learned that [B]"an array object is serializable as long as the things in the array are serilizable"[/B] . [COLOR=Green] I just need a clarification on that statement[/COLOR] . To understand that concept I myself coined a simple program . Here it's … | |
Hi all , [U]Here are my questions :[/U] I like to know when to use Serialization and when should the preference will be given to Database to persist an Object . To use a database with Java at what level a programmer should be good in Database ? what are … | |
I have to write a code with netbeans for my homework and this is what I need to do "please create Main.java to test the Account class. In the main() method, create an Account object named myAcct with an account ID of 1122, a balace of $20000, and an annual … | |
Hey I need help with creating this program. It's supposed to take the values I've assigned in int[]A and put them into int[]C in order from least to greatest (for example, C[0] would be 1, C[1] would be 3, etc.) Yes, this is a homework problem, but I've been trying … | |
Hi, i have got this assignment to to which is due in like 3 days, m in high school so n0t so clued up. My asssignment is to create a database with MS Access, n to create a jdbc-odbc link so that the user can extract the data from the … | |
hai, how to insert picture and movies in oracle9i using jdbc technology. i had some program to implement this process but i can't do this.please help me to implement this program. | |
Client side: import java.io.*; import java.net.*; class TCPClient { public static void main(String[] args) throws Exception { String sentence; String modifiedSentence; BufferedReader inFromUser = new BufferedReader (new InputStreamReader(System.in)); while(true) { Socket clientSocket = new Socket("hostname", 5678); DataOutputStream outToServer = new DataOutputStream(clientSocket.getOutputStream()); BufferedReader inFromServer = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); sentence = inFromUser.readLine(); … | |
Hello all! I am trying to run my SOAP-XML application, but I am constatnly receiving the folowing exception. Can someone expalin me what do I do wrong? Any suggestions or ideas about the solution? Exception: The value of the 'http://www.w3.org/2001/XMLSchema-instance:type' attribute must be namespace-qualified.[COLOR="Red"][/COLOR] You may also write to me … | |
Good day. How do i convert the following code to C++? [code=java] // Lets import our file functions. import java.io.*; public class Grades { // Setup an array of test students private static Grades.test student[] = new Grades.test[50]; // Just for spunk we will create an inner class to keep … | |
Hello, I would like some help with ending a program. I am working on some homework for writing code and everything I try will not allow me to end the program. I keep getting a syntax error "`expected "}"`" and I can not figure it out. I have checked for … | |
Okay so I'm supposed to be doing an program where the user types in the circles points and the center of the circle...then make a new method for each of the things calculated like distance and area and radius...how do I bring what I did for a method back to … | |
The attached image shows my problem. When I create a GUI in netbeans, the preview of the GUI does not match the actual GUI shown when running in two ways. One (in a minor sense) is that it does not have the windows xp "look" for its buttons, borders and … | |
I needed to get links to some good Java, J2EE tutorials and was surprised that daniweb::Java didn't have a thread on that.. Of course it's easy enough having Sun provide tutorials on most things, there might be some covering specific topics in better ways. Anyway here are the links I … | |
Hey everyone, I was hoping you could help me out in choosing or not choosing java for an upcoming project I would like to do. I would like to have my media library streaming from my home computer. So basically you would input a directory and it would gather all … |
The End.