Jump to content
  • Advertisement
Sign in to follow this  
aattss3

Problem with code

This topic is 2338 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. As you see, I made something pretty basic, but then, I re-arranged it, and after lots of fixing stuff, I'm once again stumped on something. After I press a button (other than the exit button) on the first non-optionpane thingamajig, it stops. Can anyone please find out what the problem is?

Share this post


Link to post
Share on other sites
Advertisement
What do you mean it stops? You mean the window doesn't get repainted or do you get an exception? Are you working in a text editor or an ide? If you have eclipse or netbeans uploading the project could be easier.

Share this post


Link to post
Share on other sites

What do you mean it stops? You mean the window doesn't get repainted or do you get an exception? Are you working in a text editor or an ide? If you have eclipse or netbeans uploading the project could be easier.


It sort of freezes, so it probably is that it doesn't get repainted. I'm using Eclipse, but I'm not sure how to upload a project, and it won't let me upload .java files. Edited by aattss

Share this post


Link to post
Share on other sites
Have you tried setting a breakpoint and stepping through your program? In case you don't know how to do that, a quick Google search yielded this.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!