olá galera alguém pode me infomar pq esta dando esse erro.[/code]/*
- NovoJFrame.java
- Created on 31 de Julho de 2007, 16:20
*/
package javaapplication4;
/**
*
-
@author Benfino
*/
public class NovoJFrame extends javax.swing.JFrame {/** Creates new form NovoJFrame */
public NovoJFrame() {
initComponents();
desktop = new JDesktopPane();
getContentPane().add(desktop);
}/** 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.
*/
//
private void initComponents() {
jDesktopPane1 = new javax.swing.JDesktopPane();setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jDesktopPane1.setBackground(new java.awt.Color(255, 255, 255));javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
);
pack();
}//
/**
-
@param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new NovoJFrame().setVisible(true);
// getContentPane().add(desktop);
}
});
}
// Declaração de variáveis - não modifique
private javax.swing.JDesktopPane jDesktopPane1;
// Fim da declaração de variáveis -
}[code]