JavaHelp ToolTipText

Hello,
In a multilingual application JavaHelp ToolTipTexts of the toolbar are always given in the language of the default locale. If I do a
    helpbroker.setLocale(variableLocale);
    System.out.println(helpbroker.getLocale()); // this is fine.
    System.out.println(HelpUtilities.getString(variableLocale,"tip.previous"));whatever the locale, the text is always the same.
jdk 1.4.1
Is this known?
Regards
J�rg

Hello Jana,
thank you for your response. I do have a ResourceBundle, but use it up till now only for setting the OptionPane and the FileChooser via the UIManager, e.g.
    UIManager.put("OptionPane.cancelButtonText", cancelText);
    UIManager.put("FileChooser.upFolderToolTipText",
               myBundle.getString("upFolderTTT"));Unlike JavaHelp, JFileChooser and JOptionPane do not have a method "setLocale(...)" - so I thought the procedure would be different there.
Off course, I can try again with the UIManager, but for JavaHelp I don't know where to find the corresponding key names. Do you have an idea?
Bye
Joerg

Similar Messages

  • Error in JavaHelp

    Hello:
    I have JWS app I've been working on for a long time. I just added JavaHelp to it. I got it all working nicely on my local machine. When I went to deploy in JWS, I ran into a permission problem. JavaHelp is included as an extension, and I've set <security> to <all-permissions/> in both JNLPs, but I still get the following exception:
    Parsing failed for null
    Exception caught while parsing nulljava.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
    java.lang.NullPointerException
      at javax.help.plaf.basic.BasicFavoritesNavigatorUI.reloadData(BasicFavoritesNavigatorUI.java:297)
      at javax.help.plaf.basic.BasicFavoritesNavigatorUI.installUI(BasicFavoritesNavigatorUI.java:235)
      at javax.swing.JComponent.setUI(JComponent.java:647)
      at javax.help.JHelpNavigator.setUI(JHelpNavigator.java:257)
      at javax.help.JHelpNavigator.updateUI(JHelpNavigator.java:276)
      at javax.help.JHelpNavigator.<init>(JHelpNavigator.java:105)
      at javax.help.JHelpFavoritesNavigator.<init>(JHelpFavoritesNavigator.java:62)
         ... more omitted
    Here are my JNLP files:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://www.mydomain.com/"
    href="mydomain.jnlp"
    version="0.14">
      <information>
        <title>My Client</title>
        <vendor>MyCompany, LLC</vendor>
        <description>MyCompany rules.</description>
        <homepage href="http://mydomain.com"/>
        <offline-allowed/>
      </information>
      <resources>
        <jar href="mydomain.jar"/>
        <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
        <extension name="Java Help" href="lib/javahelp.jnlp"/>
      </resources>
      <application-desc main-class="com.mydomain.core.Main"/>
      <security>
        <all-permissions/>
      </security>
    </jnlp>
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://www.digibunker.com/"
    href="lib/javahelp.jnlp"
    version="2.0">
      <information>
        <title>Java Help</title>
        <vendor>Sun Microsystems</vendor>
        <description>Java Help System.</description>
        <homepage href="http://java.sun.com/javase/technologies/desktop/javahelp"/>
        <offline-allowed/>
      </information>
      <resources>
        <jar href="lib/jh.jar" download="lazy" part="JavaHelp" />
        <jar href="lib/jhall.jar" download="lazy" part="JavaHelp" />
        <jar href="lib/jhbasic.jar" download="lazy" part="JavaHelp" />
        <jar href="lib/jsearch.jar" download="lazy" part="JavaHelp" />
        <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
      </resources>
      <component-desc>
      <security>
        <all-permissions/>
      </security>
    </jnlp>
    Any and all help welcomed.
    Thanks, Dan
    Edited by: dlamet on Jan 8, 2010 5:40 PM

    AndrewThompson64
    Thanks for the quick response. I downloaded your app (very good idea BTW!) and ran it against my JNLP file. It reported a number of issues to me, but I don't understand them. I subsequently located the JNLP spec 6.0.10 here and went through it carefully. (I ended up discovering some nice features I added to my file.) I ended up with the following file, but the errors seem to be the same. The output is below the JNLP.
    Is it possible that your app is analyzing against an outdated version of the JNLP spec? It's all that I can figure. Perhaps you could explain just one or two of the node errors to get me started. Thanks again! Dan
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://www.digibunker.com/"
    href="digibunker.jnlp"
    version="0.14">
      <information>
        <title>DigiBunker Client</title>
        <vendor>DigiBunker, LLC</vendor>
        <homepage href="http://www.digibunker.com"/>
        <description kind="tooltip">Automated media back up.</description>
        <description kind="one-line">The DigiBunker client makes protecting your media files easy.</description>
        <icon href="http://www.digibunker.com/images/icon-32.png"
    version="1.0"
    width="32"
    height="32"
    size="6243" />
        <offline-allowed/>
        <shortcut>
          <desktop />
          <menu />
        </shortcut>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="digibunker.jar" main="true" />
        <extension name="Java Help" version="2.0" href="lib/javahelp.jnlp">
          <ext-download download="lazy" />
        </extension>
      </resources>
      <application-desc main-class="com.judedavid.eros.core.Main"/>
    </jnlp>
    Content type application/xml does not equal expected type of application/x-java-jnlp-file
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'homepage'. One of '{description, icon, offline-allowed, shortcut, association, related-content}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
    cvc-complex-type.2.4.d: Invalid content was found starting with element 'security'. No child element is expected at this point.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'homepage'. One of '{description, icon, offline-allowed, shortcut, association, related-content}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
    cvc-complex-type.2.4.d: Invalid content was found starting with element 'security'. No child element is expected at this point.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'homepage'. One of '{description, icon, offline-allowed, shortcut, association, related-content}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'homepage'. One of '{description, icon, offline-allowed, shortcut, association, related-content}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
    cvc-complex-type.2.4.d: Invalid content was found starting with element 'security'. No child element is expected at this point.
    cvc-complex-type.2.4.d: Invalid content was found starting with element 'security'. No child element is expected at this point.
    XML encoding not known, but declared as utf-8
    Codebase + href 'http://www.digibunker.com/digibunker.jnlp' is not equal to actual location of 'file:/Y:/Moonlighting/JudeDavid/site/athena/public/digibunker.jnlp'.
    Downloads can be optimized by specifying a resource size for 'digibunker.jar'.
    The resource download at digibunker.jar can be optimized by removing the (default) value of download='eager'.
    The resource download at digibunker.jar can be optimized by removing the (default) value of main='false'.
    It might be possible to optimize the start-up of the app. by specifying download='lazy' for the digibunker.jar resource.
    Lazy downloads might not work as expected for digibunker.jar unless the download 'part' is specified.
    Resource type com of resource http://digibunker.com is not one of the allowable types of jar.
    Report for http://www.digibunker.com/lib/javahelp.jnlp

  • Why the same function ToolTipText behaves differently in Jar and in Class

    Hi All! In my applet I use two similar statements from javax.swing:
    jListTeaSortSelect.setToolTipText("To stop the alarm just click over here.");
    jProgressBar1.setToolTipText("To stop the alarm just click over here.");
    Both work correctly when I run my applet from classes.
    Problem: When I run it from jar, composed from the same classes, second tool tip does not appear.
    I have no idea on where to get a hint to the solution. Could that be that the problem is caused by other graphical components or by the layout of the container?
    The applet and JAR in question with source code can be found on
    http://www.kobylkin.net/TeaTimer.htm , and the source code is included below in this letter as well..
    Thanks!
    Egor
    I do not include GNU GPL here, for histerical reasons [:-)]
    * TeaTimerJApplet.java
    * Created on 19. Januar 2002, 18:56
    * Tea timer with sound alarm to brew your tea right for the best taste.
    * Copyright Kobylkin Egor 2002. [email protected] www.kobylkin.net
    * This program is free software; you can redistribute it and/or
    * modify it under the terms of the GNU General Public License
    * as published by the Free Software Foundation; either version 2
    * of the License, or (at your option) any later version.
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU General Public License for more details.
    * You should have received a copy of the GNU General Public License
    * along with this program; if not, write to the Free Software
    * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    USA.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.applet.*;
    import java.applet.Applet;
    import java.net.*;
    public class TeaTimerJApplet extends javax.swing.JApplet {
    /** Creates new form TeaTimerJApplet */
    public TeaTimerJApplet() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {//GEN-BEGIN:initComponents
    java.awt.GridBagConstraints gridBagConstraints;
    jListTeaSortSelect = new javax.swing.JList();
    jButtonTimerStart = new javax.swing.JButton();
    jProgressBar1 = new javax.swing.JProgressBar();
    getContentPane().setLayout(new java.awt.GridBagLayout());
    jListTeaSortSelect.setBorder(new
    javax.swing.border.TitledBorder("Select the tea type"));
    jListTeaSortSelect.setModel(new javax.swing.AbstractListModel() {
    String[] strings = { "Test................10sec.", "Green
    tea.........3min.", "Black tea...........4min.", "Black
    tea...........5min.", "Mint, Coffee......8min." };
    public int getSize() { return strings.length; }
    public Object getElementAt(int i) { return strings; }
    jListTeaSortSelect.setToolTipText("To stop the alarm just click
    over here.");
    jListTeaSortSelect.setName("jListTeaSort");
    jListTeaSortSelect.setSelectedIndex(2);
    jListTeaSortSelect.setSelectionBackground(java.awt.Color.yellow);
    jListTeaSortSelect.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    jListTeaSortSelect.setAutoscrolls(false);
    jListTeaSortSelect.addMouseListener(new
    java.awt.event.MouseAdapter() {
    public void mousePressed(java.awt.event.MouseEvent evt) {
    jListTeaSortSelectMousePressed(evt);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    getContentPane().add(jListTeaSortSelect, gridBagConstraints);
    jButtonTimerStart.setBackground(java.awt.Color.lightGray);
    jButtonTimerStart.setText("Start the timer");
    jButtonTimerStart.setToolTipText("<html>Visit me at
    www.kobylkin.net <br> Copyright Kobylkin Egor 2002 under GNU GPL</html>");
    jButtonTimerStart.setDoubleBuffered(true);
    jButtonTimerStart.setMaximumSize(new java.awt.Dimension(180, 90));
    jButtonTimerStart.setMinimumSize(new java.awt.Dimension(120, 27));
    jButtonTimerStart.setNextFocusableComponent(jListTeaSortSelect);
    jButtonTimerStart.setPreferredSize(new java.awt.Dimension(140,
    27));
    jButtonTimerStart.addActionListener(new
    java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButtonTimerStartActionPerformed(evt);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    getContentPane().add(jButtonTimerStart, gridBagConstraints);
    jProgressBar1.setToolTipText("To stop the alarm signal just click
    over here.");
    jProgressBar1.setMinimumSize(new java.awt.Dimension(140, 14));
    jProgressBar1.setPreferredSize(new java.awt.Dimension(140, 14));
    jProgressBar1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mousePressed(java.awt.event.MouseEvent evt) {
    jProgressBar1MousePressed(evt);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    getContentPane().add(jProgressBar1, gridBagConstraints);
    }//GEN-END:initComponents
    private void jListTeaSortSelectMousePressed(java.awt.event.MouseEvent
    evt) {//GEN-FIRST:event_jListTeaSortSelectMousePressed
    // Add your handling code here:
    if ( timerIsRunningFlag == false )
    jListTeaSortSelect.setBackground(java.awt.Color.white);
    so.stop();
    }//GEN-LAST:event_jListTeaSortSelectMousePressed
    private void jProgressBar1MousePressed(java.awt.event.MouseEvent evt)
    if ( timerIsRunningFlag == false )
    jListTeaSortSelect.setBackground(java.awt.Color.white);
    so.stop();
    private void
    jButtonTimerStartActionPerformed(java.awt.event.ActionEvent evt)
    {//GEN-FIRST:event_jButtonTimerStartActionPerformed
    //set the controls in dumb state:
    jButtonTimerStart.setEnabled(false);
    jListTeaSortSelect.setEnabled(false);
    jListTeaSortSelect.setBackground(java.awt.Color.white);
    switch ( jListTeaSortSelect.getSelectedIndex() ) {
    case 0 : timerDelay = 500; break; //Test 10 sec.
    case 1 : timerDelay = 9000; break; //Green tea 3 min.
    case 2 : timerDelay = 12000; break; //Black tea 4 min.
    case 3 : timerDelay = 15000; break; //Black tea 5 min.
    case 4 : timerDelay = 24000; break; //Mint tea 8 min.
    // every "timerDelay/100" seconds the progress bar status will be
    set to be -5% less by timerTaskPerformer.
    // After 20 times timerDelay will be less than 5% so the
    timerTaskPerformer fires the alarm.
    timer = new javax.swing.Timer(timerDelay, timerTaskPerformer);
    timer.setRepeats(true);
    timer.start();
    timerIsRunningFlag = true;
    progressBarStatus = 100;
    jProgressBar1.setValue( progressBarStatus );
    jButtonTimerStart.setLabel("Timer started");
    so.stop();
    }//GEN-LAST:event_jButtonTimerStartActionPerformed
    private ActionListener timerTaskPerformer = new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    if (progressBarStatus > 5){ progressBarStatus-=5;
    jProgressBar1.setValue(progressBarStatus);
    }else{
    timer.stop();
    timerIsRunningFlag = false;
    //user alarm actions
    jListTeaSortSelect.setBackground (java.awt.Color.red);
    Toolkit.getDefaultToolkit().beep();
    so=getAudioClip(getCodeBase(), "spacemusic.au");
    so.loop();
    /* "Server not found" IE error.
    open pop-up explorer window to alert user
    try {
    AppletContext ac = getAppletContext();
    ac.showDocument( new URL( getCodeBase() +
    "teaReady.html" ), "_self");
    catch (MalformedURLException exc) {
    showStatus("Cannot find file teaReady.html");
    progressBarStatus = 0;
    jProgressBar1.setValue( progressBarStatus );
    //return to the initial state
    jButtonTimerStart.setText("Start the tea timer");
    jButtonTimerStart.setEnabled(true);
    jListTeaSortSelect.setEnabled(true);
    //Variables declaration
    private int progressBarStatus = 100;
    public boolean timerIsRunningFlag = false;
    public int timerDelay;
    private javax.swing.Timer timer;
    public AudioClip so;
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButtonTimerStart;
    private javax.swing.JList jListTeaSortSelect;
    private javax.swing.JProgressBar jProgressBar1;
    // End of variables declaration//GEN-END:variables

    Hi
    What i understand from u'r problem is that when a jar is created and run under browser, ToolTipText for progress panel is not shown? is so is the case - i had no problems..
    The code given was compiled and created a jar successfully..
    this is how i created the jar..(under WindowsNT and MSIE)
    jar cf TeaTimer.jar TeaTimerJApplet.class
    TeaTimer.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <BODY BGCOLOR="#FFFFFF">
    <APPLET CODE="TeaTimerJApplet" archive="TeaTimer.jar" WIDTH="200" HEIGHT="200">
    </APPLET>
    </BODY>
    </HTML>
    cheers
    Mohan

  • How to get javahelp release install path?

    How to get javahelp release install path?
    currently usage their tool <MagicHelp>.
    magichelp is multi-user help authoring tool,
    currently Support Java help 1.0/2.0.
    Home:http://www.gethelpsoft.com

    @BalusC
    ust for a reference cause i'm new in JSP This has nothing to do with JSP, but with basic knowledge of an essential API. I have given you the link to the File API. Are you saying that you refused to read the API documentation, which clearly explains you how to use the File and shows which methods are all available to you undereach the straightforward getName() method, and expecting that the others may chew the answers for you? Loser.

  • Open hyperlinks in a web browser in JavaHelp

    Hi,
    I am developing a helpsystem using JavaHelp 1.1.3. The problem is that I am unable to open an external weblink (e.g. www.google.com) in a browser.
    When I try to open the weblink the application just hangs.
    Please let me know if there is a workaround.
    Regards
    Ravi

    The description for Javahelp 2.0 RC says this is because of the sandbox rules that apply within JavaHelp.
    You could try setting application policies for the JavaHelp jars/classes.
    hope this helps,
    Thomas Nagel

  • Swing application with JavaHelp crashes outside Netbeans IDE.

    Hi guys I have developed a small swing application in Netbeans IDE. I used the following code inside the IDE for JH.
    public void createHelp()
           try {
                   URL hsURL = new URL("jar:file:eDictionaryHelp.jar!/eDictionaryHelp/eDictionary.hs");
                   hs = new HelpSet(null, hsURL);
           catch (Exception ee)
            // Say what the exception really is
            System.out.println( "HelpSet " + ee.getMessage());
            System.out.println("HelpSet "+ helpHS +" not found");
            JOptionPane.showMessageDialog(new JFrame(), ee.getMessage(), "Error", ERROR_MESSAGE);
            hb = hs.createHelpBroker();
       }When I run the program inside the IDE and and click on the corresponding MenuItem.. JavaHelp comes up as it should! No problems with that.
    But when I build the project and tried to run it from the .jar file in the PROJECT_HOME/dist/ the swing got displayed till this function was called. and then it simply crashed.
    Investigating further and commenting out one line at a time and compiling I found out that whenever the hs = new HelpSet(null, hsURL); is encountered, the app crashes (it doesnt throw any error).
    But as I said this is not the case when i run and compile inside the IDE. I only get this problem when running the app from outside the IDE.
    I have tried all kinds of combinations of the URL .. for eg ( I am aware of Bug 4149782)
    ClassLoader cl = this.getClass().getClassLoader();
    try {
                   URL hsURL = HelpSet.findHelpSet(cl, helpHS);
    .What can be the problem guys? Any suggestions?
    Thanks!

    Anyone has an answer on this?
    I am facing the same problem.. I am using NetBeans 5.5
    arijit_datta, do u have a solution for this problem already?
    Thanks,
    SK

  • JavaHelp 1.0 is required to view the JavaHelp output?????

    Hi All,
    I'm getting this dialog after I have generated the JavaHelp.
    "JavaHelp 1.0 is required to view the JavaHelp output. Please
    install the latest version of JavaHelp"
    But I have allready installed this "C:\jh1.1.3" and inserted
    these 2 System variables "JAVAHELP_HOME" - "C:\jh1.1.3" and
    "JHHOME" - "C:\jh1.1.3".
    I have allso installed "j2sdk1.4.1_01".
    What else needs to be done?
    BR
    Thomas

    I faintly remember a problem with Robohelp and JH1.1.3 a
    couple of years ago, I don't know if this was ever resolved.
    I have found the following that might help.
    Click Here
    Just found a link to the following Forum thread on Peter
    Grainge's site
    Thread
    here
    Hope this helps.
    Brian

  • Javahelp

    Hello, I am trying to use the serverhelp in javahelp 2.0. The following error occurs when trying to run the index.jsp page under the JavaHelpDemo context.
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    I am using JBoss/tomcat 5.0 and deployed the javahelp using the ant command in the README file. I know this class exists in the javax.servlet.jar, but I believe the versions of TagAttributeInfo.class vary in the constructors depending on what version of Tomcat/JBoss's servlet/jsp jars are included. Any leads to the correct .jar file that contains the correct constructor arguments for the javahelp would be appreciated.
    Thanks in advance.
    Jay

    Hello again. Fixed my own problem, but there is a bug in the javahelp version 2.0 for serverhelp (jsp pages). I installed version 2.0 serverhelp on Tomcat 3.2 so I would be using the servlet.jar that contained the correct TagAttributeInfo class. The application runs as it should. The TagAttributeInfo class within Tomcat 4.1 and Tomcat 5.0's servlet-api.jar are the incorrect class definition for TagAttributeInfo and therefore the NoSuchMethod exception occurs.
    Be aware of this bug. Are there any plans or version updates to fix this?
    Jay

  • RoboHelp 10 fails to build JavaHelp Search

    When I generate JavaHelp with RoboHelp 10 I have the error below in the console:
    java.io.FileNotFoundException: myProject_JavaHelpSearch\POSITIONS (...)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at com.sun.java.help.search.DocumentLists.<init>(DocumentLists.java:161)
        at com.sun.java.help.search.DocumentLists.invert(DocumentLists.java:243)
        at com.sun.java.help.search.DefaultIndexBuilder.close(DefaultIndexBuilder.java:103)
        at com.sun.java.help.search.Indexer.compile(Indexer.java:228)
        at com.sun.java.help.search.Indexer.main(Indexer.java:76)
    In the working directoty used for JavaHelp, the "myProject_JavaHelpSearch" sub-directory contains:
    DOCS
    OFFSETS
    TMAP
    The error is not fatal and RoboHelp do generate the JavaHelp file. The JavaHelps displays TOC, Index, and the project pages as expected, but when I try using the "Search" tab in the generated JavaHelp, it does not work.
    If I generate a Microsoft HTML Help or WebHelp, the "Search" tab works fine.
    My project is a former  RoboHelp 9.1 project converted to RoboHelp 10. It was working fine on Windows XP Pro Us (32 bits) + RH 9.1, I'm running now RH 10 on Windows 8 Pro French 64 bits.
    Thanks in advance for any help.

    There is nothing there about Rh10 and it is not a topic I will be updating. Sorry but JavaHelp is not a popular output. Flare does not even offer it for reasons stated in the page on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • JavaHelp error  in application server

    I have an application web-based, this is a system of help (javaHelp). Build an archive .war and I put in the Tomcat container, all fine. But when I put the same archive in a application server (JBoss) it generated error:
    org.apache.jasper.JasperException: Could not parse
              Got an IOException (null)
               Parsing failed for null
             at javax.help.tagext.ValidateTag.createHelpSet(ValidateTag.java:147)
             at javax.help.tagext.ValidateTag.validateHelpSet(ValidateTag.java:115)
             at javax.help.tagext.ValidateTag.doStartTag(ValidateTag.java:74)please help me with this problem!!

    Is this Oracle Application Server 10g Release 3 (10.1.3.1.0) Release Note helpful.
    3.1.3 Error Messages after Setting VIRTUAL_HOST_NAME
    http://download-uk.oracle.com/docs/cd/B31018_01/relnotes.1013/relnotes/install.htm#CBHHABBA
    -- Don

  • How to set icon in JavaHelp frame?

    Hello everybody
    I'm using JavaHelp 2.0 for the first time and I have been told that it is possible to set the icon within the JavaHelp frame. Furthermore it should be possible to set the position of the help window.
    I used the following code within my Java class to start JavaHelp, as the help frame should appear, when the user clicks on "JavaHelp" within the "Help" menu:
        JMenu helpMenu = new JMenu("Help");
        try {
          URL hsURL = new File("javahelp/DbManager.hs").toURL();
          HelpSet hs = new HelpSet(null, hsURL);
          HelpBroker hb = hs.createHelpBroker();
          menuItem = new JMenuItem("JavaHelp");
          menuItem.addActionListener(new CSH.DisplayHelpFromSource(hb));
          helpMenu.add(menuItem);
        } catch (Exception e) {
        }My helpset is called "DbManager.hs" and here's the presentation section of it (of course the image "dbmanager.title.image" is defined within the map file):
      <!-- presentation -->
      <presentation default="true" displayviews="true" displayviewimages="false">
        <name>MainWindow</name>
        <size width="600" height="500" />
        <location x="200" y="200" />
        <title>Database Manager</title>
        <image>dbmanager.title.image</image>
      </presentation>When I start the JavaHelp it does not show the Icon and it does not set the size and location accordingly.
    I'd be very glad for any hint on what I might be overlooking.
    Thanks,
    Christian

    Hi,
    You need to specify the name of your presentation in the createHelpBroker call:
        JMenu helpMenu = new JMenu("Help");
        try {
          URL hsURL = new File("javahelp/DbManager.hs").toURL();
          HelpSet hs = new HelpSet(null, hsURL);
          HelpBroker hb = hs.createHelpBroker("MainWindow");
          menuItem = new JMenuItem("JavaHelp");Then it should work.
    Brendan

  • How to set url in .jhm file to open specific table of content for javaHelp

    Hi,
    I need help on to set the url for mapping JavaHelp
    Inside my JavaHelp content, i used to have a main topic and sub topic, for example:
    1.0 Mathematics
    1.2.1 Algebra
    in map.jhm file. how can i try to link direct to 1.2.1 Algebra?
    example link in my map.jhm
    <mapID target="MATHS" url="MATH/MATHEMATICS.html#1.2.1. ALGEBRA" />
    but cannot directly point to the MATHEMATICS.html#1.2.1. ALGEBRA. it go straight to MATHEMATICS.html
    really appreciate any help on this
    Thanks
    Regards
    Aznimah

    No, you can't use this for pagination on a desktop device.
    Check out http://andrejusb.blogspot.de/2011/05/oracle-adf-11g-custom-table-pagination.html
    Timo

  • Please help: can bullets look normal in JavaHelp?

    When I generate JavaHelp (using RoboHelp) and preview, the bullets have prongs sticking out of them, instead of being smooth. Has anyone else encountered this? Is it a RoboHelp problem or a JavaHelp problem? Please help! I have to create compressed JavaHelp, and it's horribly ugly right now.
    Thanks!

    I know of no way to make a 4:3 hi-def movie. Unless you just want to crop off the sides -- but then you'll just have a widescreen video with black bars on the sides!

  • Problem in viewing a converted JavaHelp (jar) file (created using RH2002 to RoboHelp X5)

    Hi,
    I have a javahelp project (compressed javahelp) created using
    RoboHelp 2002. The output files are jar files.
    The source files are .mpj. When I view the existing jar files
    without converting the project to .xpj I am able to view the jar
    files.
    However, this project needs to be upgraded to RHx5. During
    conversion(.mpj to .xpj) everything seems to be working fine and
    the javahelp files are generated. But when I try to view the jar
    files nothing is diplayed.
    I get the following error. Please see below.
    Has anybody come across anything similar? Is there anything I
    need to take care of before I upgrade to .xpj? I cannot locate the
    glo.xml file in RH.
    Best regards,
    Urmi
    Parsing failed for null
    Exception caught while parsing jar:file:C:/Documents and
    Settings/urmiroy/Desktop/ep2_cd1helps/Developer_edit/JavaHelp/FLEXIEDGEBTS_dev_edit.jar!/ FLEXIEDGEBTS_dev_edit_glo.xmljava.io.FileNotFoundException:
    JAR entry FLEXIEDGEBTS_dev_edit_glo.xml not found in C:\Documents
    and
    Settings\urmiroy\Desktop\ep2_cd1helps\Developer_edit\JavaHelp\FLEXIEDGEBTS_dev_edit.jar
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at
    javax.help.MergeHelpUtilities.mergeNodeChildren(MergeHelpUtilities.ja
    va:89)
    at
    javax.help.plaf.basic.BasicGlossaryNavigatorUI.loadData(BasicGlossary
    NavigatorUI.java:217)
    at
    javax.help.plaf.basic.BasicGlossaryNavigatorUI.reloadData(BasicGlossa
    ryNavigatorUI.java:198)
    at
    javax.help.plaf.basic.BasicGlossaryNavigatorUI.installUI(BasicGlossar
    yNavigatorUI.java:146)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.help.JHelpNavigator.setUI(JHelpNavigator.java:257)
    at
    javax.help.JHelpNavigator.updateUI(JHelpNavigator.java:276)
    at
    javax.help.JHelpNavigator.<init>(JHelpNavigator.java:105)
    at
    javax.help.JHelpGlossaryNavigator.<init>(JHelpGlossaryNavigator.java:
    62)
    at
    javax.help.GlossaryView.createNavigator(GlossaryView.java:82)
    at javax.help.JHelp.setupNavigators(JHelp.java:148)
    at javax.help.JHelp.<init>(JHelp.java:126)
    at javax.help.JHelp.<init>(JHelp.java:76)
    at
    sunw.demo.jhdemo.JHLauncher$DisplayAction.actionPerformed(JHLauncher.
    java:956)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown
    Source)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
    Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
    Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown
    Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown
    Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    Hi Colum,
    Thanks for your reply.
    Yes, I have gone through the Peter Grainge's article. It is
    indeed very informative and I have installed the JDK and the JH
    according to the instructions given therein. My installation seems
    complete as the viewer works fine. The JDK version is 1.4.2_18 and
    the JH version is 2.0. The environment variables have also been set
    accordingly.
    All this while I was thinking it is a Java issue so I have
    tried out with different JDK versions.
    But now I think it can be a tool issue because :
    I can view the existing JavaHelp file with the current Java
    viewer.(if I do not open the project in X5)
    I can view Sun supplied sample jar files with the viewer.
    I can create new JavaHelp files with RHX5 and the current JDK
    and JH installation and view those files.
    I cannot view the JavaHelp file if I convert the .mpj to .xpj
    (the generate dialog works fine and says compilation is complete).
    The Display button does not display the file. The view
    command line command throws up the error mentioned in my earlier
    mail.
    Would appreciate any pointers.
    Best regards,
    Urmi

  • Exception thrown while doing a full text search in JavaHelp

    hi,
    I am using JavaHelp 2.0_02 in my web application. The Table of contents (TOC ) and the[b] Index work absolutely fine. But when I try to do a text search i get the following exception ..
    Exception while creating engine named com.sun.java.help.search.DefaultSearchEngine
    for view: javax.help.SearchView@1e20a9a
    .. java.lang.reflect.InvocationTargetException
    .. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    .. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    .. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    .. at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    .. at javax.help.search.MergingSearchEngine.makeEngine(MergingSearchEngine.java:169)
    .. at javax.help.search.MergingSearchEngine.<init>(MergingSearchEngine.java:63)
    .. at javax.help.tagext.SearchTOCItemTag.doStartTag(SearchTOCItemTag.java:77)
    .. at org.apache.jsp.javax_help_SearchView_jsp._jspService(javax_help_SearchView_jsp.java:101)
    .. at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
    .. at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
    Caused by: java.security.InvalidParameterException
    at com.sun.java.help.search.DefaultSearchEngine.<init>
    DefaultSearchEngine.java:75)
    ... 28 more
    My Helpset(.hs) file is located in the Help folder of my application and the entry for search is as follows
    <view>
        <name>Search</name>
        <label>Search</label>
        <type>javax.help.SearchView</type>
        <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
       </view>
    </helpset>and the jh.jar file is located in the applications classpath.
    and I have successfully done the indexing using jhindexer
    I searched through many sites including the java forum.. but not able to find a solution.
    Can anyone help me and point out where I could have made a mistake or how to go about this
    thanks in advance

    I had approximate the same problem, and I've fixed it. In my jar file the javaHelpSearch Folder was named with a leading lower case "j". But in my helpset.hs it was with an upper Case "J"
    <name>Search</name>
        <label>Search</label>
        <type>javax.help.SearchView</type>
        <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
       </view>When the helpset is called from a folder: windows ignore it, but when the helpset is called from into a jar you must type it correct!

Maybe you are looking for

  • How to Inactive Item Status at Org Level

    How to Inactive Item Status at Org Level and what are the implications of doing so. What are the prerequisits before inactivating an item status. The Procedure I am following is Changing the Item Attribute control to Org Level for Item Status Log on

  • Problems with folder structure

    I have a mess in Lightroom 3 as far as folders (and on my hard drive).  I want to reorganize everything into a single main folder, subdivided by date, and rely on keywords and collections for sorting.  I know everyone does it different but I am wanti

  • All Sorts of help required

    Friends, I started interning at a production studio a few weeks ago. They had installed Final Cut Server in July, and had gone through all the installation procedures, and were getting the administration details set up on my first day. I don't know e

  • Seach and copy files from selected subfolder

    Hi, We had some performance issue while looking for files in a folder(Archive) which have more than 600000 subfolders. Daily these subfolder get created and we want to look for files inside those subfolder which are created in this year (2014). there

  • Apple, what is happening

    I have no question. I would acquaint, Apple, that after months (years) I was able to convince an old Mac user (G4) to buy a new  iMac 27". We ordered it in an Apple store. The iMac ordered was not a standard configuration so it was assembled and ship