- @Override
- public void defaultBrowser_mouseClicked(MouseEvent e)
- {
- // TODO: JAL-3048 not needed for j2s
- if (!Platform.isJS()) // BH 2019
- /**
- * Java only
- *
- * @j2sIgnore
- */
- {
- JFileChooser chooser = new JFileChooser(".");
- chooser.setDialogTitle(
- MessageManager.getString("label.select_default_browser"));
-
- int value = chooser.showOpenDialog(this);
-
- if (value == JFileChooser.APPROVE_OPTION)
- {
- defaultBrowser.setText(chooser.getSelectedFile().getAbsolutePath());
- }
- }
- }
-