Hi,
From a JTree event I’d like to add new tabs with custom panels inside. I created a tab, added a panel and I tried to replace, during execution, the default panel by my custom one:
/** Creates new form MainApplication */
public MainApplication() {
initComponents();
jPanel1 = null;
jPanel1 = new PanelTest();
}
This has no effect and the manually created panel still appears… I’m a Java GUI beginner.
Kind regards,
Boris