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-1641 refactor
[jalview.git]
/
src
/
jalview
/
jbgui
/
GStructureChooser.java
diff --git
a/src/jalview/jbgui/GStructureChooser.java
b/src/jalview/jbgui/GStructureChooser.java
index
fc035b6
..
d0f2328
100644
(file)
--- a/
src/jalview/jbgui/GStructureChooser.java
+++ b/
src/jalview/jbgui/GStructureChooser.java
@@
-71,6
+71,8
@@
public abstract class GStructureChooser extends JPanel implements
protected JComboBox<FilterOption> cmb_filterOption = new JComboBox<FilterOption>();
protected AlignmentPanel ap;
protected JComboBox<FilterOption> cmb_filterOption = new JComboBox<FilterOption>();
protected AlignmentPanel ap;
+
+ protected StringBuilder errorWarning = new StringBuilder();
protected JLabel lbl_result = new JLabel(
MessageManager.getString("label.select"));
protected JLabel lbl_result = new JLabel(
MessageManager.getString("label.select"));
@@
-119,6
+121,11
@@
public abstract class GStructureChooser extends JPanel implements
protected ImageIcon errorImage = new ImageIcon(getClass().getResource(
"/images/error.png"));
protected ImageIcon errorImage = new ImageIcon(getClass().getResource(
"/images/error.png"));
+ protected ImageIcon warningImage = new ImageIcon(getClass().getResource(
+ "/images/warning.gif"));
+
+ protected JLabel lbl_warning = new JLabel(warningImage);
+
protected JLabel lbl_loading = new JLabel(loadingImage);
protected JLabel lbl_pdbManualFetchStatus = new JLabel(errorImage);
protected JLabel lbl_loading = new JLabel(loadingImage);
protected JLabel lbl_pdbManualFetchStatus = new JLabel(errorImage);
@@
-181,6
+188,11
@@
public abstract class GStructureChooser extends JPanel implements
{
updateCurrentView();
}
{
updateCurrentView();
}
+
+ public void mouseReleased(MouseEvent e)
+ {
+ updateCurrentView();
+ }
});
btn_view.setFont(new java.awt.Font("Verdana", 0, 12));
});
btn_view.setFont(new java.awt.Font("Verdana", 0, 12));