Skip to main content

JOptionPane hack?

1 reply [Last post]
subanark
Offline
Joined: 2004-11-26
Points: 0

I noticed that in the implementation of showInternalOptionDialog relies on calling a private method in Container (via reflection) to allow having a modal dialog in a JDesktopPane. (1.5+ implementation)

Is there any plans on making this method (startLWModal in Container) public or some deveration of it?

I don't consider it fair for swing to have "privlidged" access to AWT.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bino_george
Offline
Joined: 2003-06-16
Points: 0

Hi,
Providing a similar functionality is under
consideration for Mustang I beleive. Foxtrot also
uses the same technique. Maybe, Denis can give some
more details here. Thanks,

Regards,
Bino.