Example usage for java.awt Frame subclass-usage

List of usage examples for java.awt Frame subclass-usage

Introduction

In this page you can find the example usage for java.awt Frame subclass-usage.

Usage

From source file SimpleMouse.java

/**
 * This application demonstrates the use of the mouse utility classes. It allows
 * rotation, translation and resizing of the screen image of a cube by clicking
 * and dragging the mouse on the shape.
 * 
 * @author I.J.Palmer

From source file SimpleLOD.java

/**
 * This uses three resolutions of a cylinder to demonstrate the operation of a
 * level of detail node.
 * 
 * @author I.J.Palmer
 * @version 1.0

From source file SimpleBillboard.java

/**
 * This application demonstrates the use of a billboard node. Two cubes are
 * created, one yellow and the other with a a different colour on each face. The
 * billboard is created so that the red face of the right cube is always facing
 * the viewer. A key board utility class is used to allow modification of the
 * view angle.

From source file SimpleMorph.java

/**
 * This uses a Morph object to animate a shape between two key shapes: a cube
 * and a pyramid. Buttons are used to change the weight values.
 * 
 * @author I.J.Palmer
 * @version 1.0

From source file SimpleCombine.java

/**
 * This builds up a simple scene from primitives. It builds a circular 'house'
 * with a conical 'roof', and then creates three 'trees' made up of cylinders
 * and spheres. All this is place on a ground made up of a cube.
 * 
 * @author I.J.Palmer

From source file SimpleTextureGen.java

/**
 * This uses a TexCoordGeneration class to automatically define the texture
 * coordinates.
 * 
 * @author I.J.Palmer
 * @version 1.0

From source file SimpleTexture.java

/**
 * This demonstrates the simple application of textures. Each face of a cube has
 * an image mapped onto it exactly once. The image is loaded from an external
 * file.
 * 
 * @author I.J.Palmer

From source file ItemEventComponent.java

public class MainClass extends Frame implements ItemListener {
    MainClass() {
        super("Listening In");
        ItemEventComponent c = new ItemEventComponent();
        add(c, "Center");
        c.addItemListener(this);

From source file SimpleSounds.java

/**
 * This application demonstrates the use of 3D sound. It loads three sounds:
 * loop3.wav is an ambient background sound and loop1.wav and loop2.wav are
 * point sounds. The two point sounds can be switched on and off use AWT
 * buttons. The user can navigate around the scene using the keyboard.
 * 

From source file misc.SplashDemo.java

public class SplashDemo extends Frame implements ActionListener {
    static void renderSplashFrame(Graphics2D g, int frame) {
        final String[] comps = { "foo", "bar", "baz" };
        g.setComposite(AlphaComposite.Clear);
        g.fillRect(120, 140, 200, 40);
        g.setPaintMode();