equal
deleted
inserted
replaced
138 * by a {@code javax.swing.event.ListSelectionEvent}, which identifies the range |
138 * by a {@code javax.swing.event.ListSelectionEvent}, which identifies the range |
139 * of the selection change. |
139 * of the selection change. |
140 * <p> |
140 * <p> |
141 * The preferred way to listen for changes in list selection is to add |
141 * The preferred way to listen for changes in list selection is to add |
142 * {@code ListSelectionListener}s directly to the {@code JList}. {@code JList} |
142 * {@code ListSelectionListener}s directly to the {@code JList}. {@code JList} |
143 * then takes care of listening to the the selection model and notifying your |
143 * then takes care of listening to the selection model and notifying your |
144 * listeners of change. |
144 * listeners of change. |
145 * <p> |
145 * <p> |
146 * Responsibility for listening to selection changes in order to keep the list's |
146 * Responsibility for listening to selection changes in order to keep the list's |
147 * visual representation up to date lies with the list's {@code ListUI}. |
147 * visual representation up to date lies with the list's {@code ListUI}. |
148 * <p> |
148 * <p> |
715 * <p> |
715 * <p> |
716 * The default value of this property is {@code -1}. |
716 * The default value of this property is {@code -1}. |
717 * <p> |
717 * <p> |
718 * This is a JavaBeans bound property. |
718 * This is a JavaBeans bound property. |
719 * |
719 * |
720 * @param height the height to be used for for all cells in the list |
720 * @param height the height to be used for all cells in the list |
721 * @see #setPrototypeCellValue |
721 * @see #setPrototypeCellValue |
722 * @see #setFixedCellWidth |
722 * @see #setFixedCellWidth |
723 * @see JComponent#addPropertyChangeListener |
723 * @see JComponent#addPropertyChangeListener |
724 * @beaninfo |
724 * @beaninfo |
725 * bound: true |
725 * bound: true |