Tooltip « JComboBox « Java Swing Q&A





2. Tool tip and JComboBox    coderanch.com

Here's another example of how to do this... import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; public class ComboToolTipTest extends JFrame { public static void main( String[] arg ) { new ComboToolTipTest(); } public ComboToolTipTest() { super( "ComboToolTipTest" ); Vector v = new Vector(); v.add( new TestItem( "One", "The First Item" ) ); v.add( new TestItem( "Two", "The Second Item" ) ...

3. JComboBox tooltip    forums.oracle.com

kloss, Do you mean the topTip jumps around and flickers... like it's stuck in an infinite repaint loop? I had this problem some time ago... unfortuntely, I never solved it. Instead I put the combo in a panel (which was just a bit bigger than the combo) and set the tooltip on the panel instead of the combo... most users soon ...