Skip to main content

[JAVAHELP] Favorites problems in JH 2.0_01

1 reply [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Patrick Keegan

Roger Brinkley wrote:

> java-help@JAVADESKTOP.ORG wrote:
>
>> I downloaded the new release and plunked the jh.jar binary into my
>> app (a custom build of NetBeans IDE), but the Favorites navigator
>> isn't treating me well. If I right-click to create a new folder and
>> then try dragging an item into the folder, the help window freezes.
>> Closing and reopening the help doesn't work (only a grey help window
>> shows). I have to restart the whole app.
>
>
> Dragging an item from where?

A favorite that I've already added to the view.

>
>
>> This brings me to another set of questions. I looked for the
>> favorites file and discovered that it is stored in the system userdir
>> in .javahelp/Favorites.xml.
>> *What would happen if another application used JavaHelp and the
>> favorites
>
> > feature? *Would it use the same file?
>
> Yes but only the favorites for the running application would be
> displayed.

What about applications based on much of the same code (e.g. SunONE
Studio, which is based on NetBeans IDE)?

-Patrick

>
>
>> *Is there a way to program where the Favorites file is stored? It
>> might be nice to be able to have it saved in the userdir setup by the
>> application.
>
>
> Nope. This is consistent with the storing of user defaults in swing.
>
> Binky
>
> ********************************************************************************
>
>
> 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.

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

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.