JavaHelp

Joined
Sep 4, 2006
Messages
1
Reaction score
0
I tried to make a listener for helpMenuItem,but it doesnt work ,when I press the key F1,Whats wrong in the code?

HelpBroker hb = null;
hb = hs.createHelpBroker();
hb.enableHelpKey(frm.getRootPane(),"tut.starttoc",hs);
ActionListener help = new CSH.DisplayHelpFromSource(hb);
menuItem.addActionListener(help);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top