JAL-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git] / src / jalview / jbgui / GStructureChooser.java
index 4261d67..b9c9267 100644 (file)
@@ -106,13 +106,13 @@ public abstract class GStructureChooser extends JPanel
   protected String frameTitle = MessageManager
           .getString("label.structure_chooser");
 
-  public JInternalFrame mainFrame = new JInternalFrame(frameTitle);
+  protected JInternalFrame mainFrame = new JInternalFrame(frameTitle);
 
-  public JComboBox<FilterOption> cmb_filterOption = new JComboBox<>();
+  protected JComboBox<FilterOption> cmb_filterOption = new JComboBox<>();
 
-  public AlignmentPanel ap;
+  protected AlignmentPanel ap;
 
-  public StringBuilder errorWarning = new StringBuilder();
+  protected StringBuilder errorWarning = new StringBuilder();
 
   protected JButton btn_add;
 
@@ -123,14 +123,14 @@ public abstract class GStructureChooser extends JPanel
   protected JCheckBox chk_superpose = new JCheckBox(
           MessageManager.getString("label.superpose_structures"));
 
-  public JTextField txt_search = new JTextField(14);
+  protected JTextField txt_search = new JTextField(14);
 
   protected JPanel pnl_switchableViews = new JPanel(new CardLayout());
 
   protected CardLayout layout_switchableViews = (CardLayout) (pnl_switchableViews
           .getLayout());
 
-  public JCheckBox chk_invertFilter = new JCheckBox(
+  protected JCheckBox chk_invertFilter = new JCheckBox(
           MessageManager.getString("label.invert"));
 
   protected ImageIcon loadingImage = new ImageIcon(
@@ -145,29 +145,29 @@ public abstract class GStructureChooser extends JPanel
   protected ImageIcon warningImage = new ImageIcon(
           getClass().getResource("/images/warning.gif"));
 
-  public JLabel lbl_loading = new JLabel(loadingImage);
+  protected JLabel lbl_loading = new JLabel(loadingImage);
 
   protected JLabel lbl_pdbManualFetchStatus = new JLabel(errorImage);
 
   protected JLabel lbl_fromFileStatus = new JLabel(errorImage);
 
-  public AssociateSeqPanel idInputAssSeqPanel = new AssociateSeqPanel();
+  protected AssociateSeqPanel idInputAssSeqPanel = new AssociateSeqPanel();
 
-  public AssociateSeqPanel fileChooserAssSeqPanel = new AssociateSeqPanel();
+  protected AssociateSeqPanel fileChooserAssSeqPanel = new AssociateSeqPanel();
 
   protected JComboBox<StructureViewer> targetView = new JComboBox<>();
 
-  public JTable tbl_local_pdb = new JTable();
+  protected JTable tbl_local_pdb = new JTable();
 
   protected JTabbedPane pnl_filter = new JTabbedPane();
 
-  public FTSDataColumnPreferences pdbDocFieldPrefs = new FTSDataColumnPreferences(
+  protected FTSDataColumnPreferences pdbDocFieldPrefs = new FTSDataColumnPreferences(
           PreferenceSource.STRUCTURE_CHOOSER,
           PDBFTSRestClient.getInstance());
 
   protected FTSDataColumnI[] previousWantedFields;
 
-  public static Map<String, Integer> tempUserPrefs = new HashMap<>();
+  protected static Map<String, Integer> tempUserPrefs = new HashMap<>();
 
   private JTable tbl_summary = new JTable()
   {
@@ -662,7 +662,7 @@ public abstract class GStructureChooser extends JPanel
   }
 
 
-  public void closeAction(int preferredHeight)
+protected void closeAction(int preferredHeight)
   {
     // System.out.println(">>>>>>>>>> closing internal frame!!!");
     // System.out.println("width : " + mainFrame.getWidth());