classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches]: Patch: JComboBox fix


From: Lillian Angel
Subject: [cp-patches]: Patch: JComboBox fix
Date: Thu, 15 Sep 2005 15:59:07 -0400

2005-09-15  Lillian Angel  <address@hidden>

        * javax/swing/plaf/basic/BasicComboBoxRenderer.java
        (getListCellRendererComponent): Added code in to check if string
        is larger than comboBox. If it is, the string is truncated and
        '...' is drawn at the end of it.
        * javax/swing/plaf/basic/BasicComboBoxUI.java
        (getDefaultSize): Initially too small, still not fully 
        implemented.
        (getLargestItemSize): Made private, not in API.
        (minimumLayoutSize): Implemented properly.
        (intervalAdded): ComboBox should not be resized with every new
        component. This is fixed.

Attachment: patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]