|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 August 25 2014. | Portions Copyright 1997-2014 Oracle. All rights reserved.