label.interpret_tempfac_as = Interpret Temperature Factor as
label.add_pae_matrix_file = Add PAE matrix file
label.nothing_selected = Nothing selected
+label.working_ellipsis = Working ...
\ No newline at end of file
final int preferredHeight = pnl_filter.getHeight();
btn_add.setEnabled(false);
btn_newView.setEnabled(false);
+ btn_cancel.setEnabled(false);
+ actionsPanel.setEnabled(false);
+
+ final String progress=MessageManager.getString("label.working_ellipsis");
+ setProgressBar(progress, progress.hashCode());
Runnable viewStruc = new Runnable()
{
@Override
.getCmb_assSeq().getSelectedItem();
SequenceI userSelectedSeq = assSeqOpt.getSequence();
if (userSelectedSeq != null)
+ {
selectedSequence = userSelectedSeq;
+ }
String pdbFilename = selectedPdbFileName;
StructureChooser.openStructureFileForSequence(ssm, sc, ap,
@Override
public void run()
{
+ setProgressBar("Complete.", progress.hashCode());
closeAction(preferredHeight);
mainFrame.dispose();
}
*/
protected static final String VIEWS_LOCAL_PDB = "VIEWS_LOCAL_PDB";
+ protected JPanel actionsPanel;
+
protected JPanel statusPanel = new JPanel();
public JLabel statusBar = new JLabel();
protected StringBuilder errorWarning = new StringBuilder();
+ protected JButton btn_cancel;
protected JButton btn_add;
protected JButton btn_newView;
}
});
- JButton btn_cancel = new JButton(
+ btn_cancel = new JButton(
MessageManager.getString("action.cancel"));
btn_cancel.setFont(VERDANA_12);
btn_cancel.addActionListener(new ActionListener()
targetView.setVisible(false);
- JPanel actionsPanel = new JPanel(new MigLayout());
+ actionsPanel = new JPanel(new MigLayout());
actionsPanel.add(targetView, "left");
actionsPanel.add(btn_add, "wrap");
actionsPanel.add(chk_superpose, "left");