Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add JMenuBars,JMenus and JMenuItems using IntelliJ's Swing GUI Designer?

I can't find the components specified in the title anywhere in IntelliJ's Palette. I notice that the form has a JMenuBar, but I don't see it, and I don't know how to access it. Is there any way of using these components visually?

like image 938
Geo Avatar asked Jun 11 '09 20:06

Geo


People also ask

Does IntelliJ have a GUI builder?

GUI Designer in IntelliJ IDEA enables you to create graphical user interfaces (GUI) for your applications using Swing library components. The tool helps you speed up the most frequent tasks: creating dialogs and groups of controls to be used in a top-level container such as a JFrame.


1 Answers

Creating menus like this isn't currently available in the IntelliJ designer. Their official solution is to use the JFormDesigner plugin for intelliJ. Or of course to code them by hand. Here is a link to the discussion in their forums :-

IntelliJ thread

Thanks, jT

like image 59
Johnathan Avatar answered Sep 28 '22 01:09

Johnathan