|
From: Kevin S. (JIRA) <no...@at...> - 2007-07-29 21:06:59
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Stembridge resolved RCP-408.
----------------------------------
Resolution: Fixed
Patch applied. Thanks very much Yudhi.
The reason that the OK button was not being set as the default was because the message dialog uses an underlying JTextPane, which will 'hijack' the ENTER key.
See this JRootPane javadoc:
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JRootPane.html#setDefaultButton(javax.swing.JButton)
> MessageDialog's ok button should be the default button (enter key should press it)
> ----------------------------------------------------------------------------------
>
> Key: RCP-408
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-408
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Components: Dialog System
> Affects Versions: 0.2.1
> Reporter: Geoffrey De Smet
> Assignee: Kevin Stembridge
> Priority: Minor
> Fix For: 0.3.0
>
> Attachments: RCP-408.patch
>
>
> Now it's not the default button, so when a login succeeds, you have to press escape (instead of enter) to press it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|