JAL-1667 Changed PDBSearchPanel's search result layout to CardLayout to provide a...
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 21 Mar 2016 10:11:19 +0000 (10:11 +0000)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 21 Mar 2016 10:11:19 +0000 (10:11 +0000)
src/jalview/jbgui/GPDBSearchPanel.java

index ec08102..1ee4158 100644 (file)
@@ -28,6 +28,7 @@ import jalview.util.MessageManager;
 import jalview.ws.dbsources.PDBRestClient.PDBDocField;
 
 import java.awt.BorderLayout;
+import java.awt.CardLayout;
 import java.awt.Dimension;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
@@ -124,7 +125,7 @@ public abstract class GPDBSearchPanel extends JPanel
 
   private JPanel pnl_actions = new JPanel();
 
-  private JPanel pnl_results = new JPanel();
+  private JPanel pnl_results = new JPanel(new CardLayout());
 
   private JPanel pnl_inputs = new JPanel();