Well, the weekend was spent just getting acquainted with the process. I didn't even tackle a JDE version. I figure at this point, I'm going to use the WTK provided by Sun and then try my hand at transferring to the JDE at a later date. Does it makes sense?
Ok, here's my weekend's work [cory, arconsulting, and the rest of you pros, don't laugh lol!]
Let me know if this was somehow helpful. At some point, for my own good, I'm going to see if I can snap some free web hosting and post a simple tutorial so I don't forget how I did this
Code:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class TestForm extends MIDlet
{
public TestForm()
{
System.out.println("Make it: TestForm");
}
protected void startApp()
throws MIDletStateChangeException
{
//Print message to console when startApp() is called
System.out.println("startApp()");
//get the display for this MIDlet
Display display = Display.getDisplay( this );
//create a new Form with the title "Form Title"
Form basicForm = new Form("Form Title");
//append the string "My basic Form" to the new Form
basicForm.append("My basic Form");
// set the current Displayable to the new Form
display.setCurrent( basicForm );
}
protected void destroyApp( boolean unconditional )
throws MIDletStateChangeException
{
}
protected void pauseApp()
{
}
}