MessageManager.getString("action.cancel") };
String title = MessageManager
.getString("label.adjust_foreground_text_colour_threshold");
- Runnable action = new Runnable() // response for 1 = Cancel
+ Runnable action = () -> // response for 1 = Cancel
{
- @Override
- public void run()
- {
- restoreInitialSettings();
- }
+ restoreInitialSettings();
};
JvOptionPane.newOptionDialog(alignPanel.alignFrame)
.setResponseHandler(1, action).showInternalDialog(bigpanel,