View unanswered posts | View active topics It is currently Sun May 28, 2017 9:31 pm



Reply to topic  [ 1 post ] 
 Setting JPanels to the maximum size of JTabbedPane 
Author Message

Joined: Thu Nov 24, 2011 9:12 am
Posts: 1
Post Setting JPanels to the maximum size of JTabbedPane
Image

Is what I have so far, the thing I really want to get done right now is to get the damned JPanel residing within the right JTabbedPane's tab to size properly so that when I want to put components in the supplied component arguments will work correctly, but for the life of me I can't figure it out.

So far the only thing I've applied directly to the container is

Code:
      setLayout(new MigLayout("insets 5", "grow,fill"));


.... Not so top priority anymore, I skated around it by using setLayout(new MigLayout("", "[grow, fill]")); and then a sub-jpanel that was added, then all the components thrown into that to be sized properly.

Or.. Not? It only seems to feel like growing Y-Axis wise rather then both as I specified for some reason.


Thu Nov 24, 2011 9:17 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.