Results 1 to 2 of 2
- 12-06-2011, 02:24 PM #1
Member
- Join Date
- Nov 2011
- Posts
- 1
- Rep Power
- 0
removing and adding SWING components
Hi,
I have this: "http://pastebin.com/NidcAP6R" simple method, which determines what myPanel contains. In the case when only ContactListPanel should be in myPanel everything works fine. But when unknownContactView and contactListPane should be in myPanel then a problem occure....In myPanel I can not see contactListPanel(I can see only his TitledBorder)....
for clarification:
ContactListPanel extends Class1 and Class1 extends JScrollPane
UnknowContactPanel extends JPanel
Please someone Help,
Thanks a lot
- 12-06-2011, 06:12 PM #2
Re: removing and adding SWING components
Why do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
Adding and removing components from a GridBagLayout
By peterhabe in forum New To JavaReplies: 4Last Post: 09-19-2010, 10:13 PM -
Adding \ removing items from Jlist
By Desperado in forum AWT / SwingReplies: 10Last Post: 12-17-2009, 12:48 PM -
Adding/removing nodes to tree under TreeViewer
By Rodrigo Braz in forum SWT / JFaceReplies: 0Last Post: 04-20-2009, 01:02 AM -
Adding and removing panels dynamically
By kbyrne in forum AWT / SwingReplies: 1Last Post: 04-12-2008, 08:28 PM -
Removing components from JPanel
By Echilon in forum New To JavaReplies: 0Last Post: 12-30-2007, 04:05 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks