You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by noobmike <md...@lakeheadu.ca> on 2011/05/17 16:52:24 UTC
Windows Equivelent?
Hey Guys,
I'm trying to incorporate a menu system into my application. I used the
tutorial example, but am getting this error.
"Error setting property "action" for type
org.apache.pivot.wtk.Window$ActionMapping to value "fileNew""
And since they use keyboardShortcut="CMD-N" I assume this was coded on a
MAC. So I assume that
fileNew is a Mac Reserved action. Am I wrong in thinking this? Is there a
Windows equivalent?
Thanks.
Mike
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Windows-Equivelent-tp2952776p2952776.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: Windows Equivelent?
Posted by Greg Brown <gk...@verizon.net>.
You need to define the "fileNew" action before you load your BXML file. Take a look at the Java source code for that example and I think you will see it.
G
On May 17, 2011, at 10:52 AM, noobmike wrote:
> Hey Guys,
>
> I'm trying to incorporate a menu system into my application. I used the
> tutorial example, but am getting this error.
>
> "Error setting property "action" for type
> org.apache.pivot.wtk.Window$ActionMapping to value "fileNew""
>
> And since they use keyboardShortcut="CMD-N" I assume this was coded on a
> MAC. So I assume that
> fileNew is a Mac Reserved action. Am I wrong in thinking this? Is there a
> Windows equivalent?
>
> Thanks.
>
> Mike
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Windows-Equivelent-tp2952776p2952776.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.