I would like to load the form DataEntry from the main class..  I'm a newbie to Java, any help would be appreciated. 
public class Main extends javax.swing.JFrame{
  /**
   * @param args the command line arguments
   */
  public static void main(String[] args) {
    DataEntry dbJframe = new DataEntry();
    DbConnect connect = new DbConnect();
    connect.getData();
 
     
    