edu.stanford.ejalbert.browserprefui
Class BrowserPrefAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.ejalbert.browserprefui.BrowserPrefAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class BrowserPrefAction
- extends AbstractAction
- Version:
- 1.0
- Author:
- Jeff Chapman
- See Also:
- Serialized Form
Method Summary |
void |
actionPerformed(ActionEvent e)
Launches a browser preferences dialog and sets the system
property BrowserLauncher.BROWSER_SYSTEM_PROPERTY with
the requested browser. |
BrowserPrefAction
public BrowserPrefAction(String name,
BrowserLauncher browserLauncher,
JFrame appFrame)
BrowserPrefAction
public BrowserPrefAction(String name,
Icon icon,
BrowserLauncher browserLauncher,
JFrame appFrame)
actionPerformed
public void actionPerformed(ActionEvent e)
- Launches a browser preferences dialog and sets the system
property BrowserLauncher.BROWSER_SYSTEM_PROPERTY with
the requested browser.
Browser prefs dialog will be placed in the Swing thread queue
to enable action performed method to return immediately.
- Parameters:
e
- ActionEvent