Reputation: -2 Dishonored
- Active Members
- Active Posts:
- 82 (0.09 per day)
- 18-November 11
- Profile Views:
- Last Active:
- Jul 01 2013 08:19 PM
- Dream Kudos:
Posts I've Made
Posted 1 Jul 2013You may want to look into the Scanner API a little bit. There are some methods such as .next(); and .nextLine(); which may make your life much easier.
Posted 4 Nov 2012I certainly don't want to set scope of the buttons to public, but I'm afraid I don't understand the alternative which you expressed. Do you think you could be more specific? I don't know what method you would use on a JPanel to provide access to the buttons (especially because the number of buttons on the panel is dynamic).
Posted 27 Oct 2012After some more research, I found
Is this an advisable solution, or can you think of an easier/better/simpler way that I should be testing the buttons?
Posted 27 Oct 2012I can understand the elseif and the array of buttons, however I'm still not quite sure exactly what method I would use to find out which button was pressed. Is the a certain .method() that I can use to test if a button is pressed?
Posted 19 Apr 2012Try adding, after setting your color... I don't know why your grid is unclickable, but this should at least solve your other errors:
world.add(new Location(2, 2), mom);
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown
welshej hasn't added any friends yet.