Hello

I've written a custom tool tip, which I am currently displaying on
subclasses of JTextField by overriding the createToolTip() method. This
works fine. Now I'm trying to do the same thing for JComboBox.

The problem is that whenever the tool tip is displayed for the JComboBox
subclass it simply never executes my overridden createToolTip() method
there. In the JTextField subclass, I can use the debugger to catch the GUI
thread going through createToolTip().

It's as if the ToolTipManager just isn't bothered about calling
createToolTip() for JComboBoxes and just uses the default one anyway.

(The tool tip itself is simply a subclass of JToolTip which overrides
updateUI() to call setUI() on itself with a subclass of BasicToolTipUI.)

Can anyone shed any light on this?

Thanks

Tim

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to