Forum: Java Nov 16th, 2009 |
| Replies: 4 Views: 396 Check this out (http://www.daniweb.com/forums/announcement9-2.html) |
Forum: Java Sep 2nd, 2009 |
| Replies: 13 Views: 481 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 Show us your code and we can tell you what's wrong. |
Forum: Java Aug 29th, 2009 |
| Replies: 2 Views: 301 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 Well that should be where you are creating the graph. |
Forum: Java Aug 23rd, 2009 |
| Replies: 8 Views: 868 Where is the call to the other class? |
Forum: Java Aug 23rd, 2009 |
| Replies: 8 Views: 868 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 Check out http://dev.aol.com/aim |
Forum: Java Mar 22nd, 2008 |
| Replies: 6 Views: 712 Perhaps the class is compiling without error? |
Forum: Java Mar 22nd, 2008 |
| Replies: 6 Views: 712 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 Yup, that's the basic premise of recursion. |
Forum: Java Mar 16th, 2008 |
| Replies: 7 Views: 841 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 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 Change the DefaultLookandFell property |
Forum: Java Jun 7th, 2007 |
| Replies: 10 Views: 1,897 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 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 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 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 |
Forum: Java May 5th, 2007 |
| Replies: 3 Views: 3,243 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 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 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 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 What is the problem? (And please use code tags when posting program code). |
Forum: Java Feb 19th, 2007 |
| Replies: 4 Views: 1,427 OK...what code do you have? |
Forum: Java Jan 16th, 2007 |
| Replies: 3 Views: 2,244 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 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 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 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 |
Forum: Java Dec 28th, 2006 |
| Replies: 3 Views: 1,863 && 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 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 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 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 Where is this hsa package? |
Forum: Java Dec 18th, 2006 |
| Replies: 1 Views: 978 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 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 |
Forum: Java Dec 8th, 2006 |
| Replies: 11 Views: 4,228 Keep in mind that a and A are two different chracters to the computer! |
Forum: Java Dec 7th, 2006 |
| Replies: 8 Views: 1,569 Problem #1: You don't import the Vector class. |