void (int start, int end) { if (gutterSizeUpdater != null) { gutterSizeUpdater.start = Math.min(start, gutterSizeUpdater.start); gutterSizeUpdater.end = Math.max(end, gutterSizeUpdater.end); return; } gutterSizeUpdater = new Task(start, end); //noinspection SSBasedInspection SwingUtilities.invokeLater(gutterSizeUpdater); }