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 - 11:09:54 EST