Using WebSphere Studio Device Developer
Hi guys,
I'm looking into options for coding for PDAs in java. I want to use some powerful GUIs, so naturally I've chosen to use J2ME/CDC and PP.
I grabbed the trial version of the WebSphere software and I'm looking for a good guide on using the software. To start I just want to create a basic program which can show me what controls are available in Java.
Is there anything more advanced than AWT GUIs currently?
If there is how do I install it so I can use it with WebSphere.
Thanks in advance,
Joe
Ok.. I got the J9 VM on it... i think..
But I can't seem to run my app.
Here is my apps code:
import java.awt.*;
import java.awt.event.*;
public class HelloWorld extends Frame {
boolean inAnApplet = true;
TextArea output;
public HelloWorld() {
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
if (inAnApplet) {
dispose();
} else {
System.exit(0);
}
}
});
setLayout(new BorderLayout());
output = new TextArea(5,30);
output.setEditable(true);
add("Center", output);
}
public void speak() {
output.append("Hello World.\n");
}
public static void main(String[] args) {
HelloWorld window = new HelloWorld();
window.setTitle("HelloWorld Application");
window.inAnApplet = false;
window.setSize(200,200);
window.speak();
window.setVisible(true);
}
}
When I try to run it with "Java on Device" and i select my pocket pc i get the following error - Java Application: There are no Java applications available for the selected project and device
Any ideas?
It seems to run fine when i select the local JRE (ive-2.2)
Unfortunately I didn't have much luck finding anything to help me with my problem in that topic, although some of the parts will be useful when I try to optimise my program,thanks