Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

GridLayoutManager - adding new components

$
0
0

Hello,

I'am using idea 12 community edition. We are writing a school project in java. Threre is a mainframe and other views created as GUI Form and GridLayoutManager in the idea gui manager.

 

We want to fill the Jpanel's with other views in the runtime. It seems I have to use GridConstraints when adding. I coulldn't find a good tutorial for this and when i add the component like

 

leftPanel.add(leftMenu.getLeftMenuContainerpanel() , new GridConstraints()  );          //(leftPanel has a label in it.)

 

When i run this, menu goes behind the label. I want to add menu after the label.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>