Hello!
Im new in Blackberry programming, and i want write my first application for my 8100 Pearl.
I've wroted following app:
Code:
package D:.Program;
import java.io.*;
import java.lang.*;
import java.util.*;
import net.rim.device.api.ui.*;
import net.rim.device.api.ui.component.*;
import net.rim.device.api.ui.container.*;
class Program extends UiApplication
{
public static void main(String[] args)
{
Program app = new Program();
app.enterEventDispatcher();
}
public Program()
{
pushScreen(new ProgramScreen);
}
}
class Ekran extends MainScreen
{
public Ekran()
{
super();
LabelField title = new LabelField("Moja aplikacja");
setTitle(title);
RichTextField pole = new RichTextField("Witaj w mojej aplikacji.");
add(pole);
}
public boolean Exiting()
{
Dialog.alert("No to pa!");
System.exit(0);
return true;
}
}
Code has been compiled, but when i want to launch app on BB8100 simulator, application stops, and i see new window on JDE with many lines says "source code is not available"
and following text on the bottom bar of JDE: "Uncaught exception thrown - IllegalArgumentException"
PLEASE HELP!
P.S. Sry for my english, i'm still learning it