Hi,
If I have classes as follow:
class BasePanel extends JPanel{
private JLabel = new JLabel("Label");
public BasePanel (){
setLayout(new SpringLayout());
}
}
class MainPanel {
BasePanel basePanel1;
}
(Note: Of course it is only partial code...)
If I look at the desiner editor of the MainPanel I don't see that the basePanel class, that it contains, as it should be. For example, If I look at the Layout it is FlowLayout (instead of Spring). Also, the label is not shown.
What do I do worng?
Thanks a lot