Commit | Line | Data |
---|---|---|
4d9f513e NR |
1 | package be.nikiroo.utils.compat; |
2 | ||
3 | import javax.swing.JList; | |
4 | ||
5 | /** | |
6 | * Compatibility layer so I can at least get rid of the warnings of using | |
7 | * {@link JList} without a parameter (and still staying Java 1.6 compatible). | |
8 | * <p> | |
9 | * This class is merely a {@link javax.swing.ListModel} that you can parametrise | |
10 | * also in Java 1.6. | |
11 | * | |
12 | * @author niki | |
13 | * | |
14 | * @param <E> | |
15 | * the type to use | |
16 | */ | |
17 | @SuppressWarnings("rawtypes") // not compatible Java 1.6 | |
18 | public interface ListModel6<E> extends javax.swing.ListModel { | |
19 | } |