32,199 Topics

Member Avatar for
Member Avatar for ceyesuma

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 …

Member Avatar for ceyesuma
0
158
Member Avatar for George87

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

Member Avatar for eranga262154
0
60
Member Avatar for Grub

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. …

Member Avatar for eranga262154
0
83
Member Avatar for babyfrostie

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 …

Member Avatar for babyfrostie
0
289
Member Avatar for rishiraj_bayerd

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

Member Avatar for Ezzaral
0
205
Member Avatar for uonsin

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 …

Member Avatar for Ezzaral
0
72
Member Avatar for thebladerunner

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.

Member Avatar for masijade
0
44
Member Avatar for Grub

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.

Member Avatar for jwenting
0
68
Member Avatar for gerik

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 …

Member Avatar for Ezzaral
0
127
Member Avatar for PoovenM

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 …

Member Avatar for jwenting
0
86
Member Avatar for abar_sow

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: ']' …

Member Avatar for Ezzaral
0
112
Member Avatar for parthiban

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 …

Member Avatar for parthiban
0
101
Member Avatar for parthiban

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 …

Member Avatar for parthiban
0
105
Member Avatar for spick

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 …

Member Avatar for spick
0
131
Member Avatar for iron_man08

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 …

Member Avatar for nschessnerd
0
118
Member Avatar for preston_naidoo

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 …

Member Avatar for jwenting
0
123
Member Avatar for princevijay

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.

Member Avatar for Ezzaral
0
34
Member Avatar for bagi

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(); …

Member Avatar for masijade
0
81
Member Avatar for Attila.Both

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 …

Member Avatar for Ezzaral
0
64
Member Avatar for zandiago

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 …

Member Avatar for Ezzaral
0
177
Member Avatar for WVTraveler1

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 …

Member Avatar for Ezzaral
0
138
Member Avatar for cat8882

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 …

Member Avatar for uonsin
0
88
Member Avatar for Triggerhappy41

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 …

Member Avatar for peter_budo
0
147
Member Avatar for thekashyap

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 …

Member Avatar for Ezzaral
1
867
Member Avatar for Barefootsanders

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 …

Member Avatar for nschessnerd
0
81
Member Avatar for tlgkumar

hi all, i have some requirements to scrollpane, i am attached my requirements, please give some idea to do my requirements thankyou ganesh

Member Avatar for Ezzaral
0
45
Member Avatar for balagangadharm

Hi can any help me how get page linksI mean if there are 10 pages contents. I would like to show certain amount of content in each page. At the bottom we do display 1 of 10 pages 1 2 3..<last>. how to write this code in java or javascript …

Member Avatar for Ezzaral
0
89
Member Avatar for cms271828

Hi, I'm looking to update a MySql database from an applet. The 2 roots I was thinking were: Applet->php->database Applet->servlet->database But my webhost doesn't allow servlets/jsp, so I would like to try the php route. I've looked on the internet, but I can't find anything concrete to use, just lots …

Member Avatar for Ezzaral
0
135
Member Avatar for pawan_1983

sir, i have appli.jar,mysql_connecter.jar, and two dll file,and i am using jdk1.5 how can i create .exe file for client. i want to create same enviorment on client machine. plz help

Member Avatar for Ezzaral
0
141
Member Avatar for kalaiselvi.v

I have created URL object and through this i want to access the User and password and submit the request through URL.

Member Avatar for masijade
0
70

The End.