From bd2e76b5eb4a16994d6ebc6344900184e590d552 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Mon, 21 Mar 2016 10:11:19 +0000 Subject: [PATCH] JAL-1667 Changed PDBSearchPanel's search result layout to CardLayout to provide a better resize behaviour --- src/jalview/jbgui/GPDBSearchPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/jbgui/GPDBSearchPanel.java b/src/jalview/jbgui/GPDBSearchPanel.java index ec08102..1ee4158 100644 --- a/src/jalview/jbgui/GPDBSearchPanel.java +++ b/src/jalview/jbgui/GPDBSearchPanel.java @@ -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(); -- 1.7.10.2