NotifyDescriptor.OK_CANCEL_OPTION, NotifyDescriptor.PLAIN_MESSAGE, new Object[] {ok, NotifyDescriptor.CANCEL_OPTION}, ok); final NotificationLineSupport notification = d.createNotificationLineSupport(); setNewBox.setEnabled(!fresh); final Runnable update = new Runnable() {