Put up the About box and when the user click ok return
to the previous screen.
Alert alert = new Alert("About MIDP");
alert.setTimeout(Alert.FOREVER);
if (display.numColors() > 2) {
String icon = (display.isColor()) ?
"/icons/JavaPowered-8.png" : "/icons/JavaPowered-2.png";
try {
Image image = Image.createImage(icon);
alert.setImage(image);
} catch (java.io.IOException x) {
// just don't append the image.
}
}
// Add the copyright
alert.setString(copyright);
display.setCurrent(alert);