Is it possible to draw graphics on JButtons?
-
I believe this is OK. I need to know if it is possible to draw graphics based on various conditions during run-time, but want some advice before I proceed further. Thanks.
AF Pilot
-
I believe this is OK. I need to know if it is possible to draw graphics based on various conditions during run-time, but want some advice before I proceed further. Thanks.
AF Pilot
You should be able to get the graphic object
jButton.getGraphic()
and manipulate it as you need. You should handle it during the refresh of the form as that ensures it is done at the right time.
Panic, Chaos, Destruction. My work here is done.
-
You should be able to get the graphic object
jButton.getGraphic()
and manipulate it as you need. You should handle it during the refresh of the form as that ensures it is done at the right time.
Panic, Chaos, Destruction. My work here is done.
Thank you, Nagy!
AF Pilot