Import javax.swing.* error
Heya. I decided to learn java and i've been doing the tutorials, recently i started the swing tutorials and the learn by example page. However, whenever I try to import javax.swing.* it gives me an error. SO you know, i am using the J2SDK 1.4.2 and netbeans IDE 5.0. Here's the error text and what i type.
import javax.swing.* ;
the error is:
illegal start of expression and then sometimes i get <identifier> expected.
can anyone help me?

