setBorderPainted, how to preserve effect on hover

33 Views Asked by At

Does anyone have any idea how to preserve the effect on hover from setBorderPainted(true) without borders? In simple words, I don't want to have a frame around the button until I will hover the mouse on this button. And second question can I change the size of this frame and color?

0

There are 0 best solutions below