[kepler-dev] Ptolemy on the Mac

Christopher Brooks cxh at eecs.berkeley.edu
Wed Jul 12 15:59:41 PDT 2006


Hi Dan,
Sounds good.  I'm tempted to get a Mac, I'd really like to more
people locally switch.

The fact that it worked under ptII 5.x should make it fairly easy
to solve, if only by using a brute force checkout and test method.

The key to figuring this out is to look for calls to
vergil.kernel.VergilUtilities.macOSLookAndFeel():


ptII/ptolemy/actor/gui/PortConfigurerDialog.java:                 if ((VergilUtilities.macOSLookAndFeel() && (mouseEvent
ptII/ptolemy/actor/gui/PortConfigurerDialog.java:                         || (!VergilUtilities.macOSLookAndFeel() && (mouseEvent
ptII/ptolemy/vergil/basic/PopupMouseFilter.java:         if (VergilUtilities.macOSLookAndFeel()) {
ptolemy/vergil/toolbox/PtolemyTransferable.java:         if (VergilUtilities.macOSLookAndFeel()) {

My guess is that there is a place in ptolemy.vergil.actor where
we are not doing the right thing and checking for the MacOS look and feel.

_Christopher

--------

    Hi Christopher,
    
        I am quite interested in getting the Mac version of Kepler/PTII 
    working since I recently purchased one of the new Mac-Intel machines 
    (MacBook Pro). I am very impressed with the new Macs - Java performance 
    is better than comparable Windows/Linux boxes. And with the new 
    virtualization software (Parallels) I can actually run Windows and Linux 
    on the same machine at the same time as OS X! (and  Windows performance 
    is very good) I just thought that you might know of something you 
    changed since things seem to work fine under PT 5! (and I know that Matt 
    just got a new Intel Mac at home and Shawn Bowers is using one also.) So 
    I will gid into the problem of drawing a connection from a relation when 
    I get the time).
    
        The one button mouse feature is a little strange. Actually, you can 
    plug a standard 2-button mouse into the Mac and everything works fine 
    with the right button. Our problem seems to be one of mapping the 
    <Cntrl> key to the Mac <Cmd> key.
    
    Dan
    
    
    Christopher Brooks wrote:
    > Hi Dan,
    >
    > I don't have a Mac, so there is not much I can do to test this.
    >
    > I've been borrowing my wife's mac, but she rebels every time :-)
    >
    > Perhaps we (The Ptolemy Project) should either buy a mac or give up on
    > the port.  I'm surprised that the mac still has one button and yet is
    > on x86.
    >
    > Is there a Mac person who uses Kepler who can champion this port?
    >
    > _Christopher
    >
    > --------
    >
    >     Christopher,
    >         I recently noticed that we have some problems with key mappings o
   n 
    >     the Macintosh with Kepler. In particular, if you create a relation (t
   he 
    >     diamond) and then try to connect it to something else by dragging fro
   m 
    >     it with the Mac 'command' key, it doesn't work. (The relation just 
    >     moves). Of course, in Windows one uses the 'control' key instead of t
   he 
    >     Mac 'command' key.
    >         Now, the command key on the Mac works fine in Ptolemy 5, but when
    I 
    >     try using the newest version of Ptolemy, I see the problem. So it loo
   ks 
    >     like something got changed in Ptolemy!
    >     
    >     Dan
    >     
    >     -- 
    >     *******************************************************************
    >     Dan Higgins                                  higgins at nceas.ucsb.edu
    >     http://www.nceas.ucsb.edu/    Ph: 805-893-5127
    >     National Center for Ecological Analysis and Synthesis (NCEAS) Marine 
   Scienc
    >    e Building - Room 3405
    >     Santa Barbara, CA 93195
    >     *******************************************************************
    >     
    > --------
    >
    >   
    
    
    -- 
    *******************************************************************
    Dan Higgins                                  higgins at nceas.ucsb.edu
    http://www.nceas.ucsb.edu/    Ph: 805-893-5127
    National Center for Ecological Analysis and Synthesis (NCEAS) Marine Scienc
   e Building - Room 3405
    Santa Barbara, CA 93195
    *******************************************************************
    
--------


More information about the Kepler-dev mailing list