run:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: javax.swing.JPanel[,0,0,0x0,layout=javax.swing.GroupLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=] is not attached to a horizontal group
at javax.swing.GroupLayout.checkComponents(GroupLayout.java:1065)
at javax.swing.GroupLayout.prepare(GroupLayout.java:1019)
Quando eu clico no botao para abrir um JInternalFrame em meu JDesktop da esse erro!
public class Init extends JFrame {
public JDesktopPane desktop;
/** Creates new form Init */
public Init() {
this.desktop = new JDesktopPane();
this.setContentPane(desktop);
this.setExtendedState(JFrame.MAXIMIZED_BOTH);
this.setVisible(true);
this.setResizable(false);
this.initComponents();
}
e no JInternal esta assim
public class S extends JInternalFrame {
/** Creates new form S */
public S() {
this.setTitle("Ajuda ae");
this.setVisible(true);
this.initComponents();
}
O que estou fazendo de errado, OBRIGADINHU!
