View unanswered posts | View active topics It is currently Sat May 27, 2017 9:17 am



Reply to topic  [ 2 posts ] 
 OverLay JPanel in Content Pane? 
Author Message

Joined: Tue Apr 21, 2009 6:21 pm
Posts: 7
Post OverLay JPanel in Content Pane?
Hello,
I have a JDialog with multiple panels [All JPanel's].
One JPanel is the "Button Panel"
On the "Button Panel" I have added a new JButton [bAdditionalOptions] designed to provide
addition JButton's to manage some Embedded Database parameters.

I had intended to create a new JDialog to service these options.
However, it occurred to me that I should just overlay the "Button Panel' with a new
JPanel that host the additional options JButton's...

I tried the 'cell' and 'pos' tags in the content pane .add command to no avail.
After the .add command I rePaint() the main dialog expecting to see my new JPanel over the
existing components.

I think MigLayout will do what I want but I have not found the right approach or any example code
that does this.

Please advise,
Thanks,
Jim...

P.S. I am using version 3.7 and developing on a Mac OS X 10.6.8 iMac system...


Sat Feb 11, 2012 7:31 pm
Profile

Joined: Tue Apr 21, 2009 6:21 pm
Posts: 7
Post Re: OverLay JPanel in Content Pane?
I resolved this situation without using any MigLayout overlay capability.

Probably a better way to code the shared JPanel components...

Regards,
Jim Crowell...


Wed Feb 15, 2012 12:57 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

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.