j3d.examples.shape.cube.swing
Class Main
java.lang.Object
   j3d.examples.shape.cube.swing.Main
j3d.examples.shape.cube.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.
 
 For HW5, modify the Main program so that the RunAlphaPanel impacts
 the way the Alpha causes the cube to rotate.
| Constructor Summary | 
| Main(java.awt.Container c)Constructor.
 | 
| Main(java.awt.Container c,
     boolean secondView)
 | 
 
| 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.
 
Main
public Main(java.awt.Container c,
            boolean secondView)
getMenuBar
public javax.swing.JMenuBar getMenuBar()
- 
 
main
public static void main(java.lang.String[] args)
-