Package

Source Code of Test

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JLabel;

import boco.ejb3PlugIn.gui.BeanDialog;



public class Test extends JFrame
{
  public void go()
  {
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   
    this.setPreferredSize(new Dimension(300,100));
   
    this.setTitle("Contenitore di Prova");
   
    /** **/
   
    JLabel testLabel = new JLabel("Prova");
    this.getContentPane().add(testLabel, BorderLayout.CENTER);   
   
    /** RolesSelectionPanel **/   
    //this.getContentPane().add(new RolesSelectionPanel(""), BorderLayout.CENTER);
   
    /** ListDialog **/
    //ListDialog bd = new ListDialog("");
    //bd.setVisible(true);
   
    /** BeanDialog **/
    BeanDialog bd = new BeanDialog(".");
    bd.setVisible(true);

   
    /** **/
   
    this.pack();
     this.setVisible(true);
  }
 
  public static void main(String[] args)
  {
    Test t = new Test();
   
    t.go();

  }

}
TOP

Related Classes of Test

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.