I'm making an application where I want a checkbox in my java popupmenu(shown below) for the option run at start-up.
Heres the popupmenu: http://imgur.com/ZiF2Z
How do i made the Run at start-up option a check box.
I'm making an application where I want a checkbox in my java popupmenu(shown below) for the option run at start-up.
Heres the popupmenu: http://imgur.com/ZiF2Z
How do i made the Run at start-up option a check box.
Take a look at CheckboxMenuItem
if you're using AWT or JCheckBoxMenuItem
if you're using Swing.