java change appearance of checkbox in JCheckBoxMenuItem

261 views Asked by At

How can I change the default checkbox appearance of a JCheckBoxMenuItem?
I currently have default, but I want it to look like desired, which I strongly believe not to be custom as I have seen it numerous times already.

JCheckBoxMenuItem check = new JCheckBoxMenuItem("Title");
1

There are 1 answers

0
Xoriun On BEST ANSWER

As camickr proposed in the comment, needed to set the Look and Feel (L&F) for my application.
See How to Set The Look And Feel for further explanation.
The L&F I had in mind was the 'SystemLookAndFeel' on Windows.