I have a component sized just the way I want, unfortunately I have to
use fixed width font and Swing ALWAYs puts in this stupid "...".  It
seems to be hardwired in the SwingUtilities routine for painting
text.  If the component is only supposed to hold fewer than 3
characters I never see anything except the ellipses.  The component
is being used as a fancy combo box editor and I don't seem to have
the option of treating the text that appears in the list differently
from the text that appears in the combo box itself.  If I could find
a way of doing only putting truncated text in the box, and show all
the text in the list, that that would be ok too, but the combo box
uses the same renderer for the list as the box (and isPopupVisible()
seems to be buggy).  I already have a version of a combo box where
the list is wider than the box.  Any suggestions would be appreciated.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to