This
is false. Default buttons are used on the Mac, so it has the concept of default
button in the
system. And using JRootPane.setDefaultButton()
does have an effect: pressing, but not releasing the
button.
Brett
-----Original Message-----
From: Arul Jeyananth [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 4:50 AM
To: Brett Slocum
Subject: RE: Default Buttons don't work on the MacI Mac, there is no default button concept for dialog.Only mouse click over the button enable the button action.-----Original Message-----
From: Brett Slocum [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 9:36 PM
To: '[EMAIL PROTECTED]'
Subject: Default Buttons don't work on the MacI'm using JDK 1.1.8, since I'm delivering on MacOS 9.
I've setup default buttons for my panels ( getRootPane().setDefaultButton(button) ). They work fine on Windoze and I've handled all the JTextFields, etc. On the Mac they fail. The default button appears to get pressed, but not released, and nothing happens. All my JTextFields work on the Mac, since they use button.doClick().
Can someone tell me what's going on? Or give me a work-around?
---
Brett Slocum
Ancept, Inc.
"Ah'm yer pa, Luke!" -- If James Earl Ray was the voice of Darth Vader.
