Forum: Java Dec 19th, 2008 |
| Replies: 2 Views: 333 figured it out!
try{
//code
}catch(exceptiontype name){ //this case Exception NullPointerException
} |
Forum: Java Dec 19th, 2008 |
| Replies: 7 Views: 1,129 App class
public App (javax.swing.JFrame frame){
super("Maze Program");
_game = new Game();
frame.getContentPane().add(_game.getColumn());
}
gui class - the actual board |
Forum: Java Dec 18th, 2008 |
| Replies: 7 Views: 1,129 well i have 10+ classes... i can send you a jar file... will that do?
also i wont be able to send it till tomorrow... |
Forum: Java Dec 18th, 2008 |
| Replies: 2 Views: 333 I made a maze game. When you click the button, a navigator is created. But before you create a navigator, if you try moving the navigator, there is a null pointer exception.
since the navigator... |
Forum: Java Dec 18th, 2008 |
| Replies: 7 Views: 1,129 I small maze game and I got a key Listener. I got it to work.
The problem I have is that i have a text box in the gui and Key Listener is added on to the that. but I want to set it so that when... |