< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/synth/SynthToolTipUI.java

Print this page

        

@@ -225,11 +225,12 @@
         if (SynthLookAndFeel.shouldUpdateStyle(e)) {
             updateStyle((JToolTip)e.getSource());
         }
         String name = e.getPropertyName();
         if (name.equals("tiptext") || "font".equals(name) ||
-                "foreground".equals(name)) {
+                "foreground".equals(name) ||
+                "ancestor" == name || "graphicsConfiguration" == name) {
             // remove the old html view client property if one
             // existed, and install a new one if the text installed
             // into the JLabel is html source.
             JToolTip tip = ((JToolTip) e.getSource());
             String text = tip.getTipText();
< prev index next >