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 MainClass.java

public class MainClass extends Frame {
    FileDialog fc;

    MainClass() {
        super("MainClass");
        setSize(200, 200);

From source file SimpleInternalFrame.java

public class SimpleInternalFrame extends Frame {
    JLayeredPane desktop;
    JInternalFrame internalFrame;

    public SimpleInternalFrame() {
        super("");

From source file ToolbarFrame1.java

public class ToolbarFrame1 extends Frame {

    Button cutButton, copyButton, pasteButton;

    public ToolbarFrame1() {
        super("Toolbar Example (AWT)");

From source file ToolbarFrame2.java

public class ToolbarFrame2 extends Frame {
    JButton cutButton, copyButton, pasteButton;

    JButton javaButton, macButton, motifButton, winButton;

    public ToolbarFrame2() {

From source file ImageFrame.java

/**
 * A frame that displays an image. Create an ImageFrame, then use one
 * of the setImage() methods to show the image.
 * 
 * @version 0.90 19 Sep 2000
 * @author <a href="http://www.gurge.com/amd/">Adam Doppelt</a>

From source file JDK6SplashTest.java

public class JDK6SplashTest extends Frame {
    static void renderSplashFrame(Graphics2D g, int frame) {
        final String[] comps = { "foo", "bar", "baz" };
        g.setComposite(AlphaComposite.Clear);
        g.fillRect(130, 250, 280, 40);
        g.setPaintMode();

From source file flushMe.java

public class flushMe extends Frame {
    Image im;

    flushMe() {
        super("Flushing");
        im = Toolkit.getDefaultToolkit().getImage("flush.gif");

From source file BezLab.java

public class BezLab extends Frame implements MouseListener, MouseMotionListener {

    private int[] xs = { 75, 150, 300, 375 };

    private int[] ys = { 250, 100, 350, 250 };

From source file MainClass.java

/** Taken from the Sun documentation on Clipboard API */
public class MainClass extends Frame implements ClipboardOwner, ActionListener {

    TextArea srcText, dstText;

    Button copyButton, pasteButton;

From source file SimpleInternalFrameDemo.java

public class SimpleInternalFrameDemo extends Frame {

    JButton openButton, macButton, javaButton, motifButton, winButton;

    JLayeredPane desktop;