Java Intermediate Interface for Ptolemy