git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1988 JAL-3772 Non-blocking modal dialogs for unsaved changes and saving files...
[jalview.git]
/
src
/
jalview
/
gui
/
LineartOptions.java
diff --git
a/src/jalview/gui/LineartOptions.java
b/src/jalview/gui/LineartOptions.java
index
d55733c
..
8a530ac
100644
(file)
--- a/
src/jalview/gui/LineartOptions.java
+++ b/
src/jalview/gui/LineartOptions.java
@@
-20,12
+20,10
@@
*/
package jalview.gui;
*/
package jalview.gui;
-import jalview.bin.Cache;
-import jalview.util.MessageManager;
-
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
+import java.util.concurrent.Callable;
import java.util.concurrent.atomic.AtomicBoolean;
import javax.swing.BorderFactory;
import java.util.concurrent.atomic.AtomicBoolean;
import javax.swing.BorderFactory;
@@
-35,6
+33,9
@@
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
+import jalview.bin.Cache;
+import jalview.util.MessageManager;
+
/**
* A dialog where the user may choose Text or Lineart rendering, and optionally
* save this as a preference ("Don't ask me again")
/**
* A dialog where the user may choose Text or Lineart rendering, and optionally
* save this as a preference ("Don't ask me again")
@@
-95,7
+96,7
@@
public class LineartOptions extends JPanel
*
* @param action
*/
*
* @param action
*/
- public void setResponseAction(Object response, Runnable action)
+ public void setResponseAction(Object response, Callable action)
{
dialog.setResponseHandler(response, action);
}
{
dialog.setResponseHandler(response, action);
}