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();
}
}