MCPcopy Create free account
hub / github.com/Kitware/VTK / main

Method main

Wrapping/Java/vtk/sample/Demo.java:234–250  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

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}

Calls

no outgoing calls

Tested by

no test coverage detected