If I understand your question, to dynamically add elements on the fly to a JMenu you can add a MenuListener to the JMenu. This will allow you to add/remove elements when the menu is...