java - Applet is not going to stop running -


import java.awt.eventqueue; import javax.swing.jframe;  public class window1 extends jframe { private jframe frame; } 

when run code applet running don't want. appreciated thx applet window

enter image description here

see this, stopping now?

import java.lang.runnable; import javax.swing.swingutilities; import javax.swing.jframe;  public class window1 extends jframe {      public static void main(string... args){         javax.swing.swingutilities.invokelater(new java.lang.runnable() {             public void run() {                 window1 window = new window1();                 window.setdefaultcloseoperation(jframe.exit_on_close);                 window.setbounds(200, 200, 400, 300);                 window.setvisible(true);             }         });     }  } 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -