A tooltip is a good idea. You might also use a different color for the default 
button, or some other visual distinction.

On Nov 22, 2010, at 1:00 AM, ocean ocean wrote:

> Greg,
> 
> Ok, this makes sense. Should I also set a tooltip on the button itself so the 
> user might know that hitting ctrl-enter will trigger the 'ok' button. Is 
> there anything else that might be done to provide some sort of visual 
> indicator...?
> 
> On Sun, Nov 21, 2010 at 6:55 PM, Greg Brown <[email protected]> wrote:
> > Is there no way to assign a kind of 'form-wide' keyboard binding?
> 
> You can just attach a ComponentKeyListener to the form itself. That will 
> receive all key events that haven't been consumed by child components.
> 
> 
> 
> 

Reply via email to