There are many example in j2me sdk 3.0 (http://www.oracle.com/technetwork/java/javame/javamobile/download/overview/index.html)
I'm trying to build example to learn more about MIDlet 2d graphics.
AGUISwingSet2 error: package javax.swing does not exist
BdjGunBunny error: package java.awt does not exist
How to build it or include those package?
I'm trying to build example to learn more about MIDlet 2d graphics.
AGUISwingSet2 error: package javax.swing does not exist BdjGunBunny error: package java.awt does not exist
Your mistake is expecting the AGUI examples to work with MIDlets based on MIDP (JSR 118) API . This ain't possible.
Try to add those package (if you are using netbeans IDE). right click on project name>properties>build>libraries&Resource> Add Library. Hope it will solve your problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.