J2ME-CDC and javax.swing

I use netbeans to create a cdc app with the latest toolkit of SUN.
So the netbeans create the code

public class WeatherIXlet extends javax.swing.JInternalFrame

but there is the error package javax.swing does not exist.
What is wrong , do I miss a library?

I would suggest using the “Java ME Platform SDK 3.0” as your editor. It is very good and will help you sort out such issues.