This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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