use of jgnash.ui.components.QuoteSourceComboBox in project jgnash by ccavanaugh.
the class SecurityModifyPanel method initComponents.
private void initComponents() {
securityList = new JList<>();
securityList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
symbolField = new JTextFieldEx();
descriptionField = new JTextFieldEx();
scaleField = new JIntegerField();
scaleField.setToolTipText(rb.getString("ToolTip.Scale"));
isinField = new JTextFieldEx();
isinField.setToolTipText(rb.getString("ToolTip.ISIN"));
sourceComboBox = new QuoteSourceComboBox();
currencyCombo = new CurrencyComboBox();
currencyCombo.setSelectedNode(engine.getDefaultCurrency());
newButton = new JButton(rb.getString("Button.New"));
deleteButton = new JButton(rb.getString("Button.Delete"));
cancelButton = new JButton(rb.getString("Button.Cancel"));
applyButton = new JButton(rb.getString("Button.Apply"));
applyButton.addActionListener(this);
cancelButton.addActionListener(this);
deleteButton.addActionListener(this);
newButton.addActionListener(this);
buildLists();
}
Aggregations