Forum: Java Feb 16th, 2007 |
| Replies: 7 Views: 1,986 Good thoughts. I've always been a strong supporter of the "open source" concept, even though (as you've made it clear) the source need not be distributed for another programmer to find out how the... |
Forum: Java Feb 16th, 2007 |
| Replies: 7 Views: 1,986 Yea, like someone in serious need of "homework help".
Jars are just another archive-type file.. The purpose is to hold a number of files under a common name, "myfile.jar", to keep organized and to... |
Forum: Java Feb 14th, 2007 |
| Replies: 4 Views: 1,251 Hmmm. I can't be super helpful before I fall asleep tonight, but..
First thing is working with Generics (http://java.sun.com/docs/books/tutorial/java/generics/index.html)
Regular expressions?... |
Forum: Java Feb 12th, 2007 |
| Replies: 3 Views: 3,065 *squints at code*
.....
Haha, silly me. I missed this at first glance.
1) instead of *.addActionPerformed(this); use *.addActionListener(this);
2) e.getSource() returns an Object, and... |
Forum: Java Feb 8th, 2007 |
| Replies: 6 Views: 2,990 Does (ballX, ballY) represent the center of the ball, or the top-left edge of the bounding square?
For one, this if statement looks somewhat "iffy":
if (ballY < 0 || ballY > (getHeight()-25) &&... |
Forum: Java Feb 7th, 2007 |
| Replies: 3 Views: 1,091 Is there any way we can filter threads like this from being posted? Or, can they be removed? I'm not sure, but I think DaniWeb could go without such dribble as do-my-homework demands. |