Reputation: 21
I want to remove the dotted focus rectangle of the caption from a radio button in my C++ Builder XE7 application, when the button is pressed. Is there a possibility to do this?
I want to remove this focus rectangle:
Upvotes: 2
Views: 246
Reputation:
You just need to use this method below:
JSpinner s1=new JSpinner("Example")
s1.setFocusPainted(false);
Upvotes: 0