- 
    Enhancement 
- 
    Resolution: Unresolved
- 
     P4 P4
- 
    None
- 
    1.2.0, 1.2.2, 1.3.0, 1.4.0, 5.0, 6
- 
        Fix Understood
- 
        generic, x86
- 
        generic, linux, windows_95, windows_98, windows_2000, windows_xp
java version "1.3beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
Java(TM) HotSpot Client VM (build 1.3beta-O-release, 1.3beta-O-release, interpr)
Let's say I have an ArrayList (or any other Collection) and I want to create a
JBomboBox from it, I'd either have to turn it into a Vector or an array of
Objects. Vectors have too much bloat because they maintain backwards
compatibility (which is the reason I use ArrayList) so this inherently limits
Swing components. The optimal solution is instead of using constructors such as
JComboBox(Vector v)
use
JComboBox(Collection C)
At least then developers have a choice.
(Review ID: 99866)
======================================================================
- duplicates
- 
                    JDK-4352327 JOptionPane should handle a java.util.List objects in messages -           
- Closed
 
-         
- 
                    JDK-4688098 JTree.DynamicUtilTreeNode should support List and Map -           
- Closed
 
-         
- 
                    JDK-4139626 Why is ListModel not a java.util.List? -           
- Closed
 
-         
- 
                    JDK-4200202 JList should receive a java.util.List object instead of a java.ut= -           
- Closed
 
-         
- 
                    JDK-4687379 RFE: JList.setListData should use java.util.List not java.util.Vector -           
- Closed
 
-         
- 
                    JDK-5025176 JComboBox should have a List constructor -           
- Closed
 
-         
- 
                    JDK-4303490 Collections interface for JDesktopPane -           
- Closed
 
-         
- relates to
- 
                    JDK-6455353 Replace usage of Stack with ArrayDeque in Swing, when appropiate -           
- Closed
 
-         
- 
                    JDK-6340040 Inconsistancies with the DefaultComboBoxModel and the DefaultListModel construct -           
- Open
 
-         
- 
                    JDK-6454581 Replace Hashtable usage in Swing with HashMaps, where appropiate -           
- Open
 
-         
- 
                    JDK-6454582 Replace usage of Vectors with ArrayLists in Swing, where appropiate -           
- Open
 
-