Re: Cayenne/Windows developer help

From: Cris Daniluk (cris.danilu..mail.com)
Date: Wed Mar 01 2006 - 12:30:25 EST

  • Next message: Gentry, Michael \(Contractor\): "RE: Cayenne/Windows developer help"

    Sorry it took so long... your fix works fine in Win2k w/JDK5

    On 3/1/06, Cris Daniluk <cris.danilu..mail.com> wrote:
    > Testing now. Gimme a few minutes to deal with SF's pickiness :)
    >
    > On 3/1/06, Gentry, Michael (Contractor) <michael_gentr..anniemae.com> wrote:
    > >
    > > Oh yeah, you'll need to import java.awt.Toolkit, too.
    > >
    > >
    > > -----Original Message-----
    > > From: Michael Gentry (Yes, I'm a Contractor)
    > > [mailto:michael_gentr..anniemae.com]
    > > Sent: Wednesday, March 01, 2006 10:09 AM
    > > To: cayenne-deve..bjectstyle.org
    > > Subject: Cayenne/Windows developer help
    > >
    > >
    > > Could someone who develops on Windows test something for me?
    > >
    > > In
    > > org.objectstyle.cayenne.modeler.action.NewProjectAction,
    > > could you replace getAcceleratorKey() with this implementation and see if
    > > the Control-N keyboard shortcut works for you in the modeler? I'm trying to
    > > fix the keyboard shortcuts for OS X and want to make sure it still works on
    > > Windows (or Linux).
    > >
    > > Thanks!
    > >
    > > /dev/mrg
    > >
    > >
    > >
    > >
    > > public KeyStroke getAcceleratorKey() { return
    > > KeyStroke.getKeyStroke(KeyEvent.VK_N,
    > > Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()); }
    > >
    >



    This archive was generated by hypermail 2.0.0 : Wed Mar 01 2006 - 12:30:30 EST