Windows
There are some restrictions to run with Internet Explorer.
You cannot use java.awt.Graphics to draw something on OpenGL enabled
components (OGLCanvas, OGLPanel etc.).
And you cannot add java.awt.Component to those.
Example:
public class MyOGLPanel extends OGLPanel {
...
public void paint(Graphics g) {
super.paint(g);
g.drawString("This message doesn't appear.", 0, 10);
...
}
public void addButton() {
this.add(new Button("This button doesn't apper."));
}
}
- Tips:
- Using appletviewer of Java 2
Copy 'jsparrow.zip' to 'jdk1.2.2\jre\lib\ext' directory.
Add RuntimePermission "loadLibrary.jsparrow" by policytool.