/** * @param args the command line arguments */ public static void main(string[] args) { // todo code application logic here yourframe yf=new yourframe(); yf.setvisible(true); }