--- old/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicListUI.java 2017-05-18 14:08:16.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicListUI.java 2017-05-18 14:08:16.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -583,8 +583,14 @@ /** * The preferredSize of the list depends upon the layout orientation. - *
Layout Orientation | Preferred Size |
---|---|
JList.VERTICAL * | The preferredSize of the list is total height of the rows @@ -626,6 +632,7 @@ * Max cell height is either the fixed * cell height, or is determined by iterating through all the cells * to find the maximum height from the ListCellRenderer. + * |