package ui; import javax.swing.JFrame; public class Test { public static void main(String[] args) { JFrame frame = new MiFrame("Test v1.0"); frame.getContentPane().add(new MiPanel("Esto es un test :)")); frame.setVisible(true); } }