|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 October 3 2019. | Copyright © 2017-2019 Apache Software Foundation. All Rights Reserved.