Swing: creating a checkbox or check symbol in menuItem of jMenu
11,711
Use a JCheckBoxMenuItem
for check boxes in a menu.
![Neeraj singh](https://i.stack.imgur.com/Be6nO.jpg?s=256&g=1)
Comments
-
Neeraj singh about 2 years
I want to create a checkbox or check symbol in front of menuItem in a
JMenu
. For example, when we open a Notepad file and click on Format menu there is a checkbox in front of Word Wrap menuItem of the Format menu.