|Modifier and Type||Method and Description|
Populates and manages the contents of the passed combo box.
public static void connect(JComboBox comboBox, ConnectionManager connectionManager)
ConnectionManagerand a Add Database Connection item which displays the New Database Connection dialog when selected.
This method may cause the replacement of the combo box model,
thus the caller is recommended to register a
PropertyChangeListener on the combo box when
it needs to check the combo box content when it changes.
comboBox- combo box to be filled with the database connections.
Built on September 21 2017. | Portions Copyright 1997-2017 Oracle. All rights reserved.