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?

0
4 comments
Avatar
Permanently deleted user

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.

2
Avatar
Permanently deleted user

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. 

0

first right click

then click "Add Component to Patte..."

write component name

 

0

Please sign in to leave a comment.