Ptolemy II 3.0.2 Notes for Mac OS X

Mac OS X Java 1.4 Instructions

Ptolemy II 3.0.2 requires Java 1.4 because it uses the class which is not present in Java 1.3.
Mac OS X 10.2 is required to run Java 1.4. says:

Q: What version of Java is included on Mac OS X?

A: Apple is now shipping a J2SE 1.4.1 implementation for Mac OS X 10.2 Jaguar, available via the Software Update mechanism. It is based on the J2SE 1.4.1_01 JDK with the HotSpot Client VM.

Mac OS X Web Start Problems

Under Mac OS 10.2 with Java 1.4, the Web Start binary downloads and starts up, but there might be a delay while the rest of the modules are pulled over the network.

Mac OS X UI bugs

Drag and Drop does not work
Dragging an actor from the actor library pane on the left results in
        at sun.awt.datatransfer.DataTransferer.translateTransferable(
        at apple.awt.CDataTransferer.translateTransferable(
        at sun.awt.datatransfer.DataTransferer$
        at java.awt.event.InvocationEvent.dispatch(
        at java.awt.EventQueue.dispatchEvent(
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(
        at java.awt.EventDispatchThread.pumpEvents(
        at java.awt.EventDispatchThread.pumpEvents(

The following Sun Java Topic might be of use

Making ptolemy/vergil/toolbox/ implement Serializable might help. Editing how the DataFlavor is created in PtolemyTransferable might also help:

   public static final DataFlavor namedObjFlavor =
    new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType +
            ";class=ptolemy.kernel.util.NamedObj", "Named Object");

The above change was added between Ptolemy II 3.0-beta and Ptolemy II 3.0.2.
There are problems with the right mouse button
Usually click and hold or Control-click simulates the right button, but not under HyVisual
In Ptolemy II 3.0.2, we modified
ptolemy/vergil/actor/ to use Command-Click to create new relations and drag new edges