(String[] args)
| 232 | |
| 233 | // ----------------------------------------------------------------- |
| 234 | public static void main(String[] args) throws InterruptedException, InvocationTargetException { |
| 235 | SwingUtilities.invokeLater(new Runnable() { |
| 236 | public void run() { |
| 237 | Demo app = new Demo(); |
| 238 | |
| 239 | JFrame f = new JFrame("Concurrency test"); |
| 240 | f.getContentPane().setLayout(new BorderLayout()); |
| 241 | f.getContentPane().add(app, BorderLayout.CENTER); |
| 242 | f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
| 243 | f.setSize(400, 400); |
| 244 | f.setVisible(true); |
| 245 | f.validate(); |
| 246 | |
| 247 | app.startWorking(); |
| 248 | } |
| 249 | }); |
| 250 | } |
| 251 | } |
no outgoing calls
no test coverage detected