()
| 474 | |
| 475 | SwingWorker sw = new SwingWorker() { |
| 476 | @Override |
| 477 | protected Object doInBackground() throws Exception { |
| 478 | setProcessing(true); |
| 479 | try { |
| 480 | lpa.enableProfile(isdp_aid); |
| 481 | } catch (Exception ex) { |
| 482 | LOG.log(Level.SEVERE, ex.toString()); |
| 483 | DialogHelper.showMessageDialog(null, String.format("Something went wrong\n Reason: %s \nPlease check the log for more info.", ex.getMessage())); |
| 484 | } |
| 485 | |
| 486 | listProfiles(); |
| 487 | |
| 488 | setProcessing(false); |
| 489 | |
| 490 | return null; |
| 491 | } |
| 492 | }; |
| 493 | |
| 494 | sw.execute(); |
nothing calls this directly
no test coverage detected