From: tcofoegbu Date: Mon, 21 Mar 2016 10:11:19 +0000 (+0000) Subject: JAL-1667 Changed PDBSearchPanel's search result layout to CardLayout to provide a... X-Git-Tag: Release_2_10_0~297 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bd2e76b5eb4a16994d6ebc6344900184e590d552;p=jalview.git JAL-1667 Changed PDBSearchPanel's search result layout to CardLayout to provide a better resize behaviour --- 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();