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: https://i.sstatic.net/JLZQE.jpg
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.