compat -> ui.compat
[fanfix.git] / src / be / nikiroo / utils / ui / compat / DefaultListModel6.java
CommitLineData
6fdf8ca3 1package be.nikiroo.utils.ui.compat;
4d9f513e
NR
2
3import javax.swing.DefaultListModel;
4import javax.swing.JList;
5
6/**
7 * Compatibility layer so I can at least get rid of the warnings of using
8 * {@link JList} without a parameter (and still staying Java 1.6 compatible).
9 * <p>
10 * This class is merely a {@link DefaultListModel} that you can parametrise also
11 * in Java 1.6.
12 *
13 * @author niki
14 *
15 * @param <E>
16 * the type to use
17 */
18@SuppressWarnings("rawtypes") // not compatible Java 1.6
19public class DefaultListModel6<E> extends DefaultListModel
20 implements ListModel6<E> {
21 private static final long serialVersionUID = 1L;
22}