8889909192939495969798
Stopwatch startupTime = new Stopwatch(); startupTime.start(); MainFrame.getInstance().setVisible(true); startupTime.stop(); logger.config("startup in " + startupTime.getTimeSec() + " s"); if (splash != null && splash.isVisible()) {
153154155156157158159160161162163
logger.fine("finished!"); } catch (IOException ex) { logger.warning(ex.toString()); setInErrorState(true); runtime = runtimeStopwatch.stop(); throw ex; } runtime = runtimeStopwatch.stop(); logger.info("kindlegen runtime = " +
157158159160161162163164165166167
setInErrorState(true); runtime = runtimeStopwatch.stop(); throw ex; } runtime = runtimeStopwatch.stop(); logger.info("kindlegen runtime = " + runtimeStopwatch.getTimeSec() + " s"); return (String[]) outputLines.toArray(new String[0]); }
319320321322323324325326327328329
if (DEBUG) { ex.printStackTrace(); } Dialogs.showErrorDialog(ex); } } stopwatch.stop(); logger.info(" " + stopwatch.getTimeMs() + " ms"); return result; }