This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes linking menuItem to javadoc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "linking menuItem to javadoc" Watch "linking menuItem to javadoc" New topic
Author

linking menuItem to javadoc

sorcha kripshaw
Greenhorn

Joined: May 02, 2002
Posts: 5
I've written a program with javadoc comments. I would like the help menuItem in my JMenuBar to link to the javadoc in browser. How can I do this?
M.K.A. Monster
Ranch Hand

Joined: May 02, 2002
Posts: 130
Originally posted by sorcha kripshaw:
I've written a program with javadoc comments. I would like the help menuItem in my JMenuBar to link to the javadoc in browser. How can I do this?

I'd like to know that too, I know it's possible within an applet to launch a website in an other browser, but I do not know how this is done within any App
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
check this link
Steve Deadsea
Ranch Hand

Joined: Dec 03, 2001
Posts: 125
I wrote a class that will let you launch a url in a Browser on many platforms from your Java application:
http://ostermiller.org/utils/Browser.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: linking menuItem to javadoc
 
Similar Threads
JQ+ AWT package layouts and events question
Disable/enable menu in Midlet
How to set Icon on MenuItem
Question on widening ,boxing
How to make an Expanding Menu