Font3D arial = new Font3D(
new Font("Arial", Font.PLAIN, 1),
new FontExtrusion());
Text3D text = new Text3D(arial, "3DText");
/** End of sample code */

Font3D arial = new Font3D(
new Font("Arial", Font.PLAIN, 1),
new FontExtrusion());
Text3D text = new Text3D(arial, "3DText");
/** End of sample code */

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class HelloMIDlet extends MIDlet {
public void startApp() {
System.out.println("Hello World");
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}
javax.microedition.midlet.MIDlet. It defines three life-cycle notification methods: startApp(), pauseApp(), and destroyApp().
Now into the lifecycle of a MIDlet. When the MIDlet object is made by calling its constructor, the application is said to be in thePaused state. We move the application to Active state by calling the startApp() method. From the Active state, we can take the application back to Paused state by calling the pauseApp() method. The thing to remember here is that startApp() and pauseApp() can be called multiple times in an application's life time. Lastly when u want to terminate the application, u calls the destroyApp() method. destroyApp() accepts a boolean parameter and if it is true, the MIDlet quit, no matter what it is currently doing. However if this is false, the application can survive termination by throwing a MIDletStateChangeException. If any runtime exception occurs within the destroyApp() method, it is ignored and the application is terminated immediately.
Tutorial here.
Agenda: System Design and Implementation
The following were discussed:
Attendence:
- SEAH CHOON YEE, SEBASTIAN
- CHEE SUEN SIANG, ALAN
- CHIA U-MENG, ADRIAN
- OW WAI LEONG, LEXIS
import com.sun.j3d.utils.universe.SimpleUniverse;
import com.sun.j3d.utils.geometry.ColorCube;
import javax.media.j3d.BranchGroup;
public class HelloJava3Da
{
public HelloJava3Da()
{
// Create a virtual universe to contain your scene.
SimpleUniverse universe = new SimpleUniverse();
// Create a data structure to contain a group of objects
BranchGroup group = new BranchGroup();
// Add an object to the group
group.addChild(new ColorCube(0.3));
// Position the viewer so that they are looking at the object
universe.getViewingPlatform().setNominalViewingTransform();
// Add the group of objects to the universe
universe.addBranchGraph(group);
}
public static void main( String[] args )
{
new HelloJava3Da();
}
}
At the Hello3d() constructor, you will see the five lines that perform each of the commented steps. The program displays a glowing cube, the viewer is looking directly at the red face of the cube, so what you actually see is a red square on a black background.

Attendence:
- SEAH CHOON YEE, SEBASTIAN
- CHEE SUEN SIANG, ALAN
- CHIA U-MENG, ADRIAN
- OW WAI LEONG, LEXIS