Revision: 1778 http://svn.sourceforge.net/spring-rich-c/?rev=1778&view=rev Author: jhoskens Date: 2007-07-10 00:18:13 -0700 (Tue, 10 Jul 2007)
Log Message: ----------- Fix for mnemonics on lowercase letters. Modified Paths: -------------- trunk/spring-richclient/core/src/main/java/org/springframework/richclient/core/LabelInfo.java Modified: trunk/spring-richclient/core/src/main/java/org/springframework/richclient/core/LabelInfo.java =================================================================== --- trunk/spring-richclient/core/src/main/java/org/springframework/richclient/core/LabelInfo.java 2007-07-10 06:44:47 UTC (rev 1777) +++ trunk/spring-richclient/core/src/main/java/org/springframework/richclient/core/LabelInfo.java 2007-07-10 07:18:13 UTC (rev 1778) @@ -174,7 +174,8 @@ } - return new LabelInfo(labelText.toString(), mnemonicChar, mnemonicCharIndex); + // mnemonics work with VK_XXX (see KeyEvent) and only uppercase letters are used as event + return new LabelInfo(labelText.toString(), Character.toUpperCase(mnemonicChar), mnemonicCharIndex); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ spring-rich-c-cvs mailing list spring-rich-c-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs