This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
 
jQuery in Action, 3rd edition