This is not really a Java3D question at all. Please refer to the standard J2SDK documentation.
There is a JToggleButton that can do what you want. -mike -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Silvano Maneck Malfatti Sent: Monday, August 02, 2004 6:32 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] JButton question I am developping a program that when de user clic on a JButton make the java3D scene not visible.. I want to push a Jbutton and want it to come back only if I push it again like a Key: Turn ON - Turn OFF. how can I do it? Exist any setPressed() method in the JButton class? /********************************************* SILVANO MALFATTI COMPUTER SCIENCE - URI University HOME - http://www.urisan.tche.br/~smalfatti ********************************************/ ------------------------------------------------- URI - Campus de Santo Angelo-RS http://www.urisan.tche.br =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".