Class OpenURLAction

  extended by edu.stanford.hci.r3.actions.types.OpenURLAction
All Implemented Interfaces:

public class OpenURLAction
extends java.lang.Object
implements R3Action

Uses the default browser to launch the specified URL. WARNING: This seems really really slow on Java 6 on my desktop. It is slow (a minute??) on both Firefox and IE7. It used to work well through JDIC on Java 5. We may implement an alternative. UPDATE: This seems to work perfectly fine on my laptop. So yeah, just be aware that it might not work consistently across machines. UPDATE2: HEY, this seems to work now on my desktop. Perhaps it was Google Desktop that was making it slow???

This software is distributed under the BSD License.

Constructor Summary
OpenURLAction( theURL)
Method Summary
 void invoke()
          Invoke this action on the local machine.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.stanford.hci.r3.actions.R3Action

Constructor Detail


public OpenURLAction( theURL)
theURL -
Method Detail


public void invoke()
Description copied from interface: R3Action
Invoke this action on the local machine. If you want to invoke this on a remote machine, you will need to send it across the wire. That machine will then unserialize the action object and call invoke() on ITS local machine.

Specified by:
invoke in interface R3Action
See Also:

Copyright 2006 Stanford University