< prev index next >

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

Print this page

        

*** 225,235 **** if (SynthLookAndFeel.shouldUpdateStyle(e)) { updateStyle((JToolTip)e.getSource()); } String name = e.getPropertyName(); if (name.equals("tiptext") || "font".equals(name) || ! "foreground".equals(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(); --- 225,236 ---- if (SynthLookAndFeel.shouldUpdateStyle(e)) { updateStyle((JToolTip)e.getSource()); } String name = e.getPropertyName(); if (name.equals("tiptext") || "font".equals(name) || ! "foreground".equals(name) || ! "ancestor" == name || "graphicsConfig" == 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 >