Skip to main content

JavaHelp Problem - doesnt work for modal dialogs

2 replies [Last post]
priya_smit@yahoo.com
Offline
Joined: 2006-02-17

Hi,

When I open a modal dialog in my application , the javahelp loses focus and is only active for the main frame.
So I have to close the dialog to gain the focus back.
Can i make the javahelp available for all types of dialogs.
Thanks
Priyanka

Reply viewing options

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

Yes it's a modal dialog box. Unfortunately there isn't a "system level"
mode for windows in Java. You can reparent the help dialog the modal
when you create the modal. I think you have to call
helpbroker.setActivationWindow and then reset it when the modal is
closed for it to work properly.

Binky

priya_smit@yahoo.com
Offline
Joined: 2006-02-17

I am using jh2.0 and helpBoker.setActivationWindow is not there at all.
Priyanka