The IDE does´t write the IMPORT syntax in a UI
"Andres Romero" <[email protected]> Wed, 8 Aug 2007 09:09:06 -0300
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <006601c7d9b4$eb16f740$f4210384@WNTA00313200> |
Hello, whenever I design a user interface in the Netbeans IDE it doesn´t write the IMPORT syntax of the classes i´m using like:
import javax.swing.*;
public class NewJPanel extends JPanel
{
.....
....
....
instead of that syntax my IDE puts:
public class NewJPanel extends javax.swing.JPanel {
....
....
......
or whenever I declare a swing component the syntax looks like this:
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton10;
instead of writing:
import javax.swing.*;
private JButton jButton1;
private JButton jButton10;
i´d like to know why is this happening and what can i do to solve this. I want my ide to write the IMPORT syntax and not to write the packages or classes every time are used.
thanks