samples/incompatibilities/src-wildimport/org/apidesign/wildimport/MyPanel.java
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 16 May 2013 08:18:24 +0200
changeset 406 b5f24c7c2a8e
parent 388 4814f04f6c33
permissions -rw-r--r--
Yoshiki Shibata pointed out that collections were introduced in JDK 1.2
     1  package org.apidesign.wildimport;
     2 
     3 // BEGIN: theory.wildimport
     4 import java.awt.*;
     5 import java.util.*;
     6 
     7 /** Could be compiled on JDK 1.1, before java.util.List was created */
     8 public class MyPanel extends Panel {
     9     List visualComponent = new List();
    10     Vector items = new Vector();
    11 }        
    12 // END: theory.wildimport