File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
sources/net.sf.j2s.java.core/src/test Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 11package test ;
22
3- import java .awt .Font ;
43import java .util .HashSet ;
54import java .util .Set ;
65import java .util .concurrent .Executors ;
7- import java .util .concurrent .Future ;
86import java .util .concurrent .ScheduledExecutorService ;
97
10- import javax .swing .JFrame ;
11-
128import javajs .async .SwingJSUtils .StateHelper ;
139import javajs .async .SwingJSUtils .StateMachine ;
1410
11+ /**
12+ * StateMachine ensures task is completed before shutdown is complete
13+ * @author hansonr
14+ *
15+ */
1516public class Test_Exec implements StateMachine {
1617
1718
@@ -25,9 +26,6 @@ public static void main(String[] args) {
2526 }
2627
2728 Test_Exec () {
28- JFrame f = new JFrame ();
29- f .setSize (100 ,100 );
30- f .setVisible (true );
3129 helper = new StateHelper (this );
3230 helper .next (0 );
3331 }
You can’t perform that action at this time.
0 commit comments