Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4313323

Tooltips don't appear on JButton through Plug-in

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.3.0
    • deploy
    • generic
    • generic



      Name: krT82822 Date: 02/16/2000


      16 Feb 2000, eval1127@eng -- on both win32 and Solaris, this works fine in an application. Must be Plug-In specific.

      Java(TM) Plug-in: Version 1.3.0rc1-T

      Using JRE version 1.3.0rc1 Java HotSpot(TM) Client VM

      Adding a tooltip to a JButton with an ImageIcon, doesn't render the tooltip. It
      keeps "blanking". Did work fine with 1.2.2 plug-in.
      Appears both in IE5.0 as Netscape 4.5 on Windows 98.

      Here a sample of the code I use to set the tooltip.

              ImageIcon addMemoIcon = new ImageIcon(addMemoImageURL);
              JButton addMemoButton = new JButton(null,addMemoIcon);
              addMemoButton.setToolTipText(addMemoMessage);

      (Review ID: 101217)
      ======================================================================

            jmelvin James Melvin (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: