| Author |
MIDlets and classes
|
Max Simpson
Ranch Hand
Joined: Sep 23, 2004
Posts: 30
|
|
Hi, Is a MIDlet a single class file or multiple class files? I am a bit confused because when using an IDE to create a MIDlet, everytime I create a new class it is just added to the bottom of my existing class. I tried working with a MIDlet suite, but the seperate class files do not "see" each other and the program will not work. Thanks!
|
 |
Punit Raizada
Ranch Hand
Joined: Mar 20, 2004
Posts: 156
|
|
hmmmm.... Which IDE are u using ???
|
SCJP 1.4
Everything that can go wrong will go wrong -Murphy
|
 |
Michael Yuan
author
Ranch Hand
Joined: Mar 07, 2002
Posts: 1427
|
|
A MIDlet is one class. A MIDlet application (packaged in a JAR file) can contain the MIDlet class and any number of other supporting classes. A Java file can define one public class and any number of non-public classes. A MIDlet application can have any number of Java files.
|
Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
|
 |
Max Simpson
Ranch Hand
Joined: Sep 23, 2004
Posts: 30
|
|
|
Thanks. I was confused and thought a Midlet was like a package and contained multiple class files. I guess a Midlet Suite is what I should be using for multiple class files.
|
 |
 |
|
|
subject: MIDlets and classes
|
|
|