I can't seem to remember how you create subitems in the menu's. Does anyone know how?
Format --> Color(then like a drop down)
Heres an example of a couple different ones
I think you want something with swings since you mentioned JMenu.
here's a simple example:
JMenu menu = new JMenu("Color");
JMenuItem blueM = new JMenuItem("blue");
// and do this for the others and once done add them to your menu
menu.add(blueM); // and so on hope this helps
Well it depends you can create one of these and add them to your drop down menu object:
I'm sure there are others but these are the only two that i ever used. create these and add them to your MenuItem objects.
I don't know if that's what you wanted to hear, but that's all i got.:cry:
Thank you all for the help. I guess I was unclear on what I wanted. I figured out how to do this though. What you do, is simply add a JMenu, to a JMenu, and that makes it to were you can have subcategories.