j3d.examples.swing
Class Main
java.lang.Object
j3d.examples.swing.Main
public class Main
- extends java.lang.Object
This example displays a Swing based application with a JMenuBar that
allows you to switch between displaying a Cube and a Sphere. You can
also perform a simple screen capture and start/stop rotation using menu
commands.
Constructor Summary |
Main(java.awt.Container c)
Constructor. |
Method Summary |
javax.swing.JMenuBar |
getMenuBar()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main(java.awt.Container c)
- Constructor. Set the layout algorithm for the panel and initialize
the Java 3D rendering system and view side scenegraph.
getMenuBar
public javax.swing.JMenuBar getMenuBar()
main
public static void main(java.lang.String[] args)