(final String args[])
| 394 | } |
| 395 | |
| 396 | private static void initApp(final String args[]) { |
| 397 | |
| 398 | // Enclosing try to enable graceful closure for unexpected errors. |
| 399 | fixJavaBug(); |
| 400 | |
| 401 | if (SwingUtilities.isEventDispatchThread()) { |
| 402 | |
| 403 | initController(args); |
| 404 | |
| 405 | } else { |
| 406 | SwingUtilities.invokeLater(new Runnable() { |
| 407 | @Override |
| 408 | public void run() { |
| 409 | |
| 410 | initController(args); |
| 411 | // Create the controllers. |
| 412 | |
| 413 | |
| 414 | } |
| 415 | }); |
| 416 | } |
| 417 | |
| 418 | |
| 419 | } |
| 420 | |
| 421 | private static void processCommandLineURI(String rawURI) { |
| 422 | try { |
no test coverage detected