Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java question
#2
Deviant Wrote:So im not great when it comes to GUI related things in Java, i've basically created a program that is a panel with 2 text boxes for 1 number each, and 2 buttons, one to wipe the text boxes clear (reset) and one to add the numbers. But im not sure how to retrieve each text box individually, so I cant get the values to add, or even set the destination to wipe, how do I go about this?
I've never done a GUI in Java, but I assume the textbox class has a getText() and a setText(String) method or something similarly named.
Reply


Messages In This Thread
Java question - by Deviant - 2010-01-08, 05:10 PM
Java question - by Spaz - 2010-01-09, 03:59 PM
Java question - by Heidi - 2010-01-09, 04:08 PM
Java question - by thistwilight - 2010-01-09, 07:06 PM
Java question - by Deviant - 2010-01-10, 04:01 PM
Java question - by Spaz - 2010-01-10, 04:21 PM
Java question - by Deviant - 2010-01-10, 04:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)