aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JToggleButton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JToggleButton" Watch "JToggleButton" New topic
Author

JToggleButton

Coq Rouge
Greenhorn

Joined: Nov 17, 2001
Posts: 5
Can you make the color on the button background and text change when you press the button??

[This message has been edited by Coq Rouge (edited November 17, 2001).]


[img]<http://home.no.net/warezcoq/spider.gif>[/img]<BR>
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi,
Sure! Check out the code below.

Regards,
Manfred
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JToggleButton
 
Similar Threads
reverse text
Submitting input type=button with enter
Button click to access Servlet
How to specify default button in JSF
Submitting a form on pressing Enter key