Can't highlight button?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Can't highlight button?

killerblade
Hello i've made a JButton inside a JPanel inside a JDialog .. when i select an icon for that button where the icon covers all the button , the button becomes not clickable or highlightable.. although events work when i click it but it does not show that the button has been clicked or when i point the mouse at the button it does not show any highlights around the button unless i expand it where the icon does not cover all the button but like that it  becomes ugly and only the part where the icon does not show gets highlighted