JAL-1641 docs for ComplexAlignFile interface
[jalview.git] / src / jalview / jbgui / GStructureChooser.java
index fc035b6..d0f2328 100644 (file)
@@ -71,6 +71,8 @@ public abstract class GStructureChooser extends JPanel implements
   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"));
@@ -119,6 +121,11 @@ public abstract class GStructureChooser extends JPanel implements
   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);
@@ -181,6 +188,11 @@ public abstract class GStructureChooser extends JPanel implements
       {
         updateCurrentView();
       }
+
+      public void mouseReleased(MouseEvent e)
+      {
+        updateCurrentView();
+      }
     });
 
     btn_view.setFont(new java.awt.Font("Verdana", 0, 12));