import jalview.gui.Desktop;
import jalview.util.MessageManager;
import jalview.ws.dbsources.PDBRestClient.PDBDocField;
-import jalview.ws.uimodel.PDBRestResponse.PDBResponseSummary;
import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
-import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
+import javax.swing.JTable;
import javax.swing.JTextField;
-import javax.swing.ListSelectionModel;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
protected JTextField txt_search = new JTextField(20);
- protected JList<PDBResponseSummary> lst_searchResult = new JList<PDBResponseSummary>();
+ // protected JList<PDBResponseSummary> lst_searchResult = new
+ // JList<PDBResponseSummary>();
+
+ // protected JScrollPane scrl_searchResult = new JScrollPane(
+ // lst_searchResult);
+
+ protected JTable tbl_summary = new JTable();
protected JScrollPane scrl_searchResult = new JScrollPane(
- lst_searchResult);
+tbl_summary);
private JPanel pnl_actions = new JPanel();
pnl_actions.add(btn_ok);
pnl_actions.add(btn_cancel);
- lst_searchResult
- .setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
- lst_searchResult.setLayoutOrientation(JList.VERTICAL);
- lst_searchResult.setVisibleRowCount(-1);
+ // lst_searchResult
+ // .setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+ // lst_searchResult.setLayoutOrientation(JList.VERTICAL);
+ // lst_searchResult.setVisibleRowCount(-1);
+
scrl_searchResult.setPreferredSize(new Dimension(500, 300));
scrl_searchResult
.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);