Example usage for javax.swing JApplet subclass-usage

List of usage examples for javax.swing JApplet subclass-usage

Introduction

In this page you can find the example usage for javax.swing JApplet subclass-usage.

Usage

From source file ArcDemo2D.java

public class ArcDemo2D extends JApplet {
    final static BasicStroke wideStroke = new BasicStroke(8.0f);

    public void init() {
        setBackground(Color.white);
        setForeground(Color.white);

From source file FilledRectangleDemo2D.java

public class FilledRectangleDemo2D extends JApplet {

    public void init() {
        setBackground(Color.white);
        setForeground(Color.white);
    }

From source file GradientPaintEllipse.java

public class GradientPaintEllipse extends JApplet {

    public void init() {
        setBackground(Color.white);
        setForeground(Color.white);
    }

From source file Buttons.java

public class Buttons extends JApplet {
    private JButton jb = new JButton("JButton");

    private BasicArrowButton up = new BasicArrowButton(BasicArrowButton.NORTH),
            down = new BasicArrowButton(BasicArrowButton.SOUTH),
            right = new BasicArrowButton(BasicArrowButton.EAST), left = new BasicArrowButton(BasicArrowButton.WEST);

From source file EllipseDemo2D.java

public class EllipseDemo2D extends JApplet {
    final static BasicStroke stroke = new BasicStroke(2.0f);

    public void init() {
        setBackground(Color.white);
        setForeground(Color.white);

From source file RectangleDemo2D.java

public class RectangleDemo2D extends JApplet {
    final static BasicStroke stroke = new BasicStroke(2.0f);

    public void init() {
        setBackground(Color.white);
        setForeground(Color.white);

From source file GradientPaintDemo2D.java

public class GradientPaintDemo2D extends JApplet {

    public void init() {
        setBackground(Color.white);
        setForeground(Color.white);
    }

From source file DashedRectangleDemo2D.java

public class DashedRectangleDemo2D extends JApplet {
    final static float dash1[] = { 10.0f };
    final static BasicStroke dashed = new BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 10.0f,
            dash1, 0.0f);

    public void init() {

From source file GeneralPathOpenDemo2D.java

public class GeneralPathOpenDemo2D extends JApplet {
    public void init() {
        setBackground(Color.white);
        setForeground(Color.white);
    }

From source file GeneralPathDemo2D.java

public class GeneralPathDemo2D extends JApplet {
    public void init() {
        setBackground(Color.white);
        setForeground(Color.white);
    }