- // Add default Browser text box
- connectTab.add(browserLabel,
- new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
- GridBagConstraints.WEST, GridBagConstraints.NONE,
- new Insets(10, 0, 5, 5), 5, 1));
- defaultBrowser.setFont(LABEL_FONT);
-
- ComboBoxModel<String> cbModel = new DefaultComboBoxModel(
- BrowserLauncher.getInstance().getBrowserList().toArray());
- String browserPref = Cache.getProperty("DEFAULT_BROWSER");
- if (browserPref != null)
- {
- cbModel.setSelectedItem(browserPref);
- }
- defaultBrowser.setModel(cbModel);
-
- connectTab.add(defaultBrowser, new GridBagConstraints(1, 0, 1, 1, 1.0,
- 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
- new Insets(10, 0, 5, 10), 30, 1));
-