S
steven robinson
Hope you guys can help.
I want to hide the button border on a java awt button not a JButton. I
know on JButton the method is button.setBorderPainted(false); but how
can I get the same effect on an awt button class?
The reason I have to use button instead of jbutton is because when my
mouse rolls over the jbutton even though I have
button.setRolloverEnabled(false); defined, I get a noticeable re-paint
of the jbutton, even though this is quick it is causing problems in my
application. The application is an audio player so the constant
re-drawing of buttons when I move my mouse quickly over all my buttons
is causing nasty breaks in my audio stream.
Any help would be appreciated. Help with stopping the redrawing of the
jbutton or how to hide the border of an awt button.
Thanks all
Steve
I want to hide the button border on a java awt button not a JButton. I
know on JButton the method is button.setBorderPainted(false); but how
can I get the same effect on an awt button class?
The reason I have to use button instead of jbutton is because when my
mouse rolls over the jbutton even though I have
button.setRolloverEnabled(false); defined, I get a noticeable re-paint
of the jbutton, even though this is quick it is causing problems in my
application. The application is an audio player so the constant
re-drawing of buttons when I move my mouse quickly over all my buttons
is causing nasty breaks in my audio stream.
Any help would be appreciated. Help with stopping the redrawing of the
jbutton or how to hide the border of an awt button.
Thanks all
Steve