posted 12 years ago
Hi,
I have this simple method: "http://pastebin.com/NidcAP6R" which determines myPanel content. In the case when myPanel should contains only ContactListPanel It works fine. But in the second case when myPanel should contains contactListPanel and unknowContactListView the problem occure- I can not see ContactListPanel in myPanel(I can se only ContactListPanel's TitledBorder....)
for clarificaton:
ContactListPanel extends Class1 and Class1 extends JScrollPane
UnknownContactPanel extneds JPanel.
Does anyone know how tro solve my problem, please?
Thanks in advance