Hey guys i just found out about net beans and im really happy because it makes everything easier. Anyway im writing a conversion gui applet, really simple, that coverts A to B with a button. Im wondering if theres a way that, if the jtogglebutton is pressed, the convert button uses formula A and if it is not pressed, it uses formula b
thanks.
edit: and if theres an easier way, whatever works for you guys. Also, is it possible to lock down everything until the user puts the right password in a password field?

