Search Results

Showing results 1 to 40 of 49
Search took 0.01 seconds.
Search: Posts Made By: Dukane ; Forum: Java and child forums
Forum: Java Nov 16th, 2009
Replies: 4
Views: 396
Posted By Dukane
Check this out (http://www.daniweb.com/forums/announcement9-2.html)
Forum: Java Sep 2nd, 2009
Replies: 13
Views: 481
Posted By Dukane
Works OK to me, but now I have all of the letters in the puzzle, and when I try to solve the puzzle it says I am wrong everytime...but I am typing in EXACTLY what is there!
Forum: Java Aug 30th, 2009
Replies: 4
Views: 234
Posted By Dukane
Show us your code and we can tell you what's wrong.
Forum: Java Aug 29th, 2009
Replies: 2
Views: 301
Posted By Dukane
Applet size on the web is controlled by the width and height attributes in the embed/object tag in your HTML page.
Forum: Java Aug 23rd, 2009
Replies: 8
Views: 868
Posted By Dukane
Well that should be where you are creating the graph.
Forum: Java Aug 23rd, 2009
Replies: 8
Views: 868
Posted By Dukane
Where is the call to the other class?
Forum: Java Aug 23rd, 2009
Replies: 8
Views: 868
Posted By Dukane
Holy moly that's a lot of code. How about you narrow it down and show us specifically where your problem is.
Forum: Java Aug 13th, 2009
Replies: 4
Views: 316
Posted By Dukane
Check out http://dev.aol.com/aim
Forum: Java Mar 22nd, 2008
Replies: 6
Views: 712
Posted By Dukane
Perhaps the class is compiling without error?
Forum: Java Mar 22nd, 2008
Replies: 6
Views: 712
Posted By Dukane
I believe (I am not 100% sure) that if you use a > and then follow it with a file name, you can catch the output of the Java compiler.

Try this:

javac MyApp.java > compileerrors.txt

That...
Forum: Java Mar 20th, 2008
Replies: 7
Views: 841
Posted By Dukane
Yup, that's the basic premise of recursion.
Forum: Java Mar 16th, 2008
Replies: 7
Views: 841
Posted By Dukane
I haven't done a lot of work in Java recently, so I'm not 100% on this, but try taking out the "static" in the fact method. (If that doesn't work, add the "static" back in and report back to us!)
...
Forum: Java Mar 16th, 2008
Replies: 7
Views: 841
Posted By Dukane
The return value gets passed back to the calling method. You could do anything with the returned value.

To print the return variable, you may want to add the following line to your main method:
...
Forum: Java Oct 24th, 2007
Replies: 7
Views: 1,431
Posted By Dukane
Change the DefaultLookandFell property
Forum: Java Jun 7th, 2007
Replies: 10
Views: 1,897
Posted By Dukane
Then you should keep them local to the method. Let Java worry about handling the memory.
Forum: Java May 30th, 2007
Replies: 4
Views: 1,101
Posted By Dukane
We will not program your assignments for you. You have to show us some effort before we can help you. Post your code, we can help diagnose some problems. But don't come here expecting us to answer...
Forum: Java May 25th, 2007
Replies: 7
Views: 1,331
Posted By Dukane
Too lazy to use Google on your own, huh?

Try http://www.google.com/search?tab=vw&q=charts+and+graphs+in+java
Forum: Java May 25th, 2007
Replies: 15
Views: 8,144
Posted By Dukane
Is this a Java question or a JavaScript question?

I'm not sure on this...but could you use a session ID or a cookie to identify a refresh and then cancel the question for the user for cheating?
Forum: Java May 22nd, 2007
Replies: 6
Views: 1,310
Posted By Dukane
Forum: Java May 5th, 2007
Replies: 3
Views: 3,243
Posted By Dukane
Very quickly looking at the class documentation, I'm going to say no. But you should examine the documentation more throughly to be sure.
Forum: Java Apr 5th, 2007
Replies: 6
Views: 1,066
Posted By Dukane
Or go to your locl library and see if there are any quick-start guides for Java. However, choose wisely. Some programming books will teach you bad programming practice right off the bat just so you...
Forum: Java Apr 5th, 2007
Replies: 8
Views: 1,198
Posted By Dukane
What don't you understand? The assignment already gives a pretty good example.

Do you have some code you'd like the community to help you with? We're not going to do your assignment for you.
Forum: Java Mar 4th, 2007
Replies: 9
Views: 12,226
Posted By Dukane
He did give you a suggestion on how to fix the error. Do you understand his recommendation?
Forum: Java Feb 19th, 2007
Replies: 3
Views: 1,109
Posted By Dukane
What is the problem? (And please use code tags when posting program code).
Forum: Java Feb 19th, 2007
Replies: 4
Views: 1,427
Posted By Dukane
OK...what code do you have?
Forum: Java Jan 16th, 2007
Replies: 3
Views: 2,244
Posted By Dukane
Check out http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-print.html?page=1
Forum: Java Jan 12th, 2007
Replies: 5
Views: 1,350
Posted By Dukane
Go to Control Panel, open the System Control Panel. Click the Advanced tab. Click the Environment Variables button.

In the System variables group, find CLASSPATH, then click Edit. At the end of...
Forum: Java Jan 4th, 2007
Replies: 7
Views: 3,339
Posted By Dukane
Your program is working, but no part of this problem includes showing the drawing on the screen!
Forum: Java Jan 3rd, 2007
Replies: 3
Views: 1,197
Posted By Dukane
Can you also give us a sample of the file?

I would use a Scanner object to read each token in the file. Then if that token matches 42, exit.
Forum: Java Dec 30th, 2006
Replies: 5
Views: 1,421
Posted By Dukane
Then read those errors!
Forum: Java Dec 28th, 2006
Replies: 3
Views: 1,863
Posted By Dukane
&& and || use the short-circuit evaluation. To force the compiler to check both conditions, use & or |.
Forum: Java Dec 27th, 2006
Replies: 5
Views: 1,332
Posted By Dukane
Try updating your JRE and JDK. I have the latest version and it works fine for me. I made no changes.
Forum: Java Dec 26th, 2006
Replies: 5
Views: 1,332
Posted By Dukane
Your applet runs just fine in a web browser. But as Tyler said, this program will not run as a console application.
Forum: Java Dec 19th, 2006
Replies: 3
Views: 2,295
Posted By Dukane
You do not have a main method! I added the main method declaration and now it works just fine!
Forum: Java Dec 18th, 2006
Replies: 4
Views: 23,274
Posted By Dukane
Where is this hsa package?
Forum: Java Dec 18th, 2006
Replies: 1
Views: 978
Posted By Dukane
Are you reading the errors from the compiler? You do not declare and initialize two variables!
Forum: Java Dec 15th, 2006
Replies: 1
Views: 1,404
Posted By Dukane
Add a counter variable that gets incremented everytime the loop which pops up the "guess" dialog runs.

I have modified your code by simply adding 3 lines to do jus that.


import java.util.*;...
Forum: Java Dec 12th, 2006
Replies: 9
Views: 1,867
Posted By Dukane
Cash register program.
Forum: Java Dec 8th, 2006
Replies: 11
Views: 4,228
Posted By Dukane
Keep in mind that a and A are two different chracters to the computer!
Forum: Java Dec 7th, 2006
Replies: 8
Views: 1,569
Posted By Dukane
Problem #1: You don't import the Vector class.
Showing results 1 to 40 of 49

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC