protected JInternalFrame mainFrame = new JInternalFrame(
getFTSFrameTitle());
- protected JTabbedPane mainFramTabs = new JTabbedPane();
+ protected JTabbedPane tabs = new JTabbedPane();
protected IProgressIndicator progressIndicator;
protected JComboBox<FTSDataColumnI> cmb_searchTarget = new JComboBox<FTSDataColumnI>();
{
if (fetcher == null)
{
- mainFramTabs = null;
+ tabs = null;
}
jbInit();
if (fetcher != null)
{
- mainFramTabs.addTab(MessageManager.getString("label.retrieve_ids"),
+ tabs.addTab(MessageManager.getString("label.retrieve_ids"),
fetcher);
fetcher.setDatabaseChooserVisible(false);
fetcher.embedWithFTSPanel(this);
public void focusGained(FocusEvent e)
{
// TODO: make selected tab gain focus in correct widget
- if (mainFramTabs != null
- && mainFramTabs.getSelectedComponent() == ftsPanel)
+ if (tabs != null
+ && tabs.getSelectedComponent() == ftsPanel)
{
txt_search.requestFocusInWindow();
}
this.add(pnl_results, java.awt.BorderLayout.CENTER);
this.add(pnl_actions, java.awt.BorderLayout.SOUTH);
mainFrame.setVisible(true);
- if (mainFramTabs != null)
+ if (tabs != null)
{
- mainFramTabs.setOpaque(true);
- mainFramTabs.insertTab("Free Text Search", null, this, "", 0);
- mainFrame.setContentPane(mainFramTabs);
- mainFramTabs.setVisible(true);
+ tabs.setOpaque(true);
+ tabs.insertTab("Free Text Search", null, this, "", 0);
+ mainFrame.setContentPane(tabs);
+ tabs.setVisible(true);
}
else
{