IntelliJ: how do I add JMenu onto a JMenuBar?
Answered
hi
How do I add JMenu under a JMenuBar from IntelliJ form designer?
I may manually add JMenuBar/JMenu/JMenuItem onto the pallete,
and I may add JMenuBar under a panel. This action looks so
natural, so intuitive. Why I just cannot do it? or how may I edit
any kind of menu items using form designer?
Please sign in to leave a comment.
It's not possible in IntelliJ Designer: https://stackoverflow.com/questions/983398/how-can-i-add-jmenubars-jmenus-and-jmenuitems-using-intellijs-swing-gui-designe
Feel free to create feature request on YouTrack: http://youtrack.jetbrains.com/issues/IDEA.
If you still have problem on it, try click right button on Pallete->Add Component to Pallete->Class->enter"JMenuBar" etc. Intellij will help you to find correct class. I had the same problem now, meybe my prompt will help you or other guy.
Kwasiborski you are spot on. Thanks for taking the time to post the answer. I am taking a java course that is designed for netbeans and I really hate netbeans so I went rogue and decided to create my projects with IntelliJ. I appreciate your solution greatly and more importantly your reasoning. Keep up that teacher mindset.
first right click
then click "Add Component to Patte..."
write component name