PlanetJava
Custom Search

java-netbeans-mobility-user
[Top] [All Lists]

netbeans 6.9.1 javax.swing doen not exist error

Subject: netbeans 6.9.1 javax.swing doen not exist error
Date: Thu, 10 Feb 2011 19:12:51 +0000
Is there a problem about java me in netbeans 6.9.1?
I'm creating a new java me project and selecting CDC Application. 
and than I'm adding a AGUI Xlet Form to project.
I'm not doing anything else. I compiled the project and the following errors 
appeared 
Code:
 Compiling 2 source files toC:\Documents and Settings\atilla\My 
Documents\NetBeansProjects\CdcApplication6\build\compiled
C:\Documents and Settings\atilla\My 
Documents\NetBeansProjects\CdcApplication6\src\NewAGUIXlet.java:17: package 
javax.swing does not exist
public class NewAGUIXlet extends javax.swing.JInternalFrame implements 
javax.microedition.xlet.Xlet {
C:\Documents and Settings\atilla\My 
Documents\NetBeansProjects\CdcApplication6\src\NewAGUIXlet.java:36: cannot find 
symbol
symbol  : method getContentPane()
location: class NewAGUIXlet
 .........it continues
jdk 6 is installed. jdk1.6.0_23 folder exists in program files and in there 
there is src.zip which contains javax package. I cant find a solution to this 
problem. I tried different jdk ver. and netbeans versions but nothing changed. 
I tried these on different computer but nothing changed again.
bytheway I writed a cldc project, compiled and deployed it. it is working 
perfectly but CDC has a problem
please help me 
 [Rolling Eyes]
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • netbeans 6.9.1 javax.swing doen not exist error,
    • netbeans 6.9.1 javax.swing doen not exist error
      • Re: netbeans 6.9.1 javax.swing doen not exist error
    • Re: netbeans 6.9.1 javax.swing doen not exist error
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy