2010-01-09, 03:59 PM
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.

