Example usage for javax.swing JComponent subclass-usage

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

Introduction

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

Usage

From source file GlassPaneDemo.java

/**
 * We have to provide our own glass pane so that it can paint.
 */
class MyGlassPane extends JComponent implements ItemListener {
    Point point;

From source file GlassPaneDemo.java

/**
 * We have to provide our own glass pane so that it can paint.
 */
class MyGlassPane extends JComponent implements ItemListener {
    Point point;

From source file RadialGradientApp.java

/**
 *
 * @author Romain Guy
 */
class SphereComponent extends JComponent {

From source file de.tbuchloh.kiskis.gui.MainView.java

/**
 * <b>MainView</b>:
 * 
 * @author gandalf
 * @version $Id: MainView.java,v 1.29 2007/02/18 17:20:11 tbuchloh Exp $
 */

From source file AlgorithmAnimation.java

/**
 * This component draws an array and marks two elements in the array.
 */
class ArrayComponent extends JComponent {
    /**
     * Sets the values to be painted. Called on the sorter thread.

From source file com.projity.contrib.calendar.JXXMonthView.java

/**
 * Component that displays a month calendar which can be used to select a day or
 * range of days. By default the <code>JXMonthView</code> will display a
 * single calendar using the current month and year, using
 * <code>Calendar.SUNDAY</code> as the first day of the week.
 * <p>

From source file com.alvermont.terraj.fracplanet.render.TriangleMeshViewerDisplay.java

/**
 * Class that displays a mesh using JOGL rendering.
 *
 * @author martin
 * @version $Id: TriangleMeshViewerDisplay.java,v 1.16 2006/07/06 15:17:24 martin Exp $
 */

From source file BounceThread.java

/**
 * The component that draws the balls.
 * 
 * @version 1.33 2007-05-17
 * @author Cay Horstmann
 */

From source file RenderQualityTest.java

/**
 * This component produces a drawing that shows the effect of rendering hints.
 */
class RenderQualityComponent extends JComponent {
    public RenderQualityComponent() {
        try {

From source file StrokeTest.java

/**
 * This component draws two joined lines, using different stroke objects, and allows the user to drag
 * the three points defining the lines.
 */
class StrokeComponent extends JComponent {
    public StrokeComponent() {