posted 17 years ago
I know that menuitems in a JPopupmenu can be separated by addSeparator(), but I also want to be able to set headers/titles for those sections. So you'd get something like:
FILE OPTIONS
- Open File
- Delete File
PROPERTY OPTIONS
- Rename
- View Properties
Is there a way to do this?