Menu

#863 Tooltip was displayed on the 1st screen only

1.0.x
closed
General (896)
5
2008-07-11
2008-05-07
Anonymous
No

When we have multiple screens and when any types of JFreeChart is used in JApplet, the tooltips are only displayed on the first screen.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Is this a bug?

     
  • Nobody/Anonymous

    Logged In: NO

    I've waited for a while but there's no answer so far. Since all the people on trading floors use multiple screens. This problem may restrict the usage in the financial world. So I looked into the source code, I found it was a problem of Java ToolTipManager. I've found a quick fix. My solution doesn't need to touch the source code of JFreeChart. I'll post it to http://whwang18.googlepages.com/ as soon as I can. Please contact me at whwang18@yahoo.com if you need the solution immediately.

     
  • David Gilbert

    David Gilbert - 2008-07-09

    Logged In: YES
    user_id=112975
    Originator: NO

    Thanks for the followup. I don't have a dual screen setup that I can check this on.

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     
  • Sergei Ivanov

    Sergei Ivanov - 2008-07-10

    Logged In: YES
    user_id=1606022
    Originator: NO

    Indeed, this is a bug in the JDK, which is present in all versions starting from 1.4 (including the latest release builds of 1.6). The original bug report can be viewed here:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4924243
    If you scroll down the bug report a bit, there is a suggested workaround, which is to pack your top-level window, then move it to (0,0) and then move it back to the original location. I am also writing financial software for multi-screen configurations and that workaround helped us alleviate the problem.
    Unfortunately, little can be done on the level of JFreeChart to address this issue.

     
  • David Gilbert

    David Gilbert - 2008-07-11
    • assigned_to: nobody --> mungady
    • status: open --> closed
     
  • David Gilbert

    David Gilbert - 2008-07-11

    Logged In: YES
    user_id=112975
    Originator: NO

    Hi Sergei,

    Thanks for the link. I'll close this bug report.

    Regards,

    Dave

     

Log in to post a comment.

MongoDB Logo MongoDB