miércoles, marzo 07, 2007

Cómo editar un form de Netbeans

Usando el editor de tu preferencia ( Eclipse - Textpad - Notepad - etc...) borra las cabeceras de los métodos (color rojo) , asi cuando abras tu .java con Nb podras editar en codigo y en Form ( codigo y grafico) :

/** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */
// //GEN-BEGIN:initComponents
private void initComponents() {
PanelSur = new javax.swing.JPanel();
PanelNorte = new javax.swing.JPanel();
jTabbedPane = new javax.swing.JTabbedPane();
jPanel1 = new javax.swing.JPanel();
jPanel2 = new javax.swing.JPanel();

...
...
...

getContentPane().add(jTabbedPane, java.awt.BorderLayout.CENTER);

pack();
}// //GEN-END:initComponents