Forums Register Login

ToggleButton pressed

+Pie Number of slices to send: Send
i want to know if the toggle button is pressed or not
i tried is selected but it is not giving me the right answer
i need to check if it is pressed or not ie on or off
any help
+Pie Number of slices to send: Send
isSelected() is the correct method.

post a small sample program that demonstrates the incorrect behaviour
(eg a frame with a panel with a togglebutton, and actionlistener code)
I am mighty! And this is a mighty small ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1097 times.
Similar Threads
Hahahaha
block the F5 key on keyboard
Problems interrupting a thread
I don't doGet() it!
Catching F12
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:45:44.