org.jdesktop.swingx.action
Class OpenBrowserAction
java.lang.Object
javax.swing.AbstractAction
org.jdesktop.swingx.action.OpenBrowserAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class OpenBrowserAction
- extends AbstractAction
- See Also:
- Serialized Form
OpenBrowserAction
public OpenBrowserAction()
- Creates a new instance of OpenBrowserAction
OpenBrowserAction
public OpenBrowserAction(String url)
throws MalformedURLException
- Throws:
MalformedURLException
OpenBrowserAction
public OpenBrowserAction(URL url)
getUrl
public URL getUrl()
setUrl
public void setUrl(URL url)
actionPerformed
public void actionPerformed(ActionEvent e)
- Description copied from interface:
java.awt.event.ActionListener
- Invoked when an action occurs.
handleError
protected void handleError(Throwable thr)
main
public static void main(String... args)
throws MalformedURLException
- Throws:
MalformedURLException