Skip to main content

Can't open Secondary Window via JButton

No replies
Anonymous

Folks,

I can access the main Javahelp window just fine using:

hbSalientFeatures.setDisplayed(true);

But I am unable to access the Secondary Window using a Jbutton. Here
is my code snippet:

JButton rmcButton = new JButton();

hbSalientFeatures.enableHelpOnButton
(rmcButton,"sf.rmc_login_parameters",
null,"javax.help.SecondaryWindow","Resource Management Console (RMC)
Help");

When i press the button I get following exception:
java.lang.NullPointerException: hs

Help!!
Richard

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.