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 org.spoutcraft.launcher.technic.skin.ModpackSelector.java

public class ModpackSelector extends JComponent implements ActionListener {
    private static final long serialVersionUID = 1L;
    private static final String PACK_SELECT_ACTION = "packselect";
    public static final String DEFAULT_PACK = "tekkitmain";
    private ImportOptions importOptions = null;

From source file TexturedText.java

/**
 * Text with a Texture
 * 
 * @author Ian Darwin, http://www.darwinsys.com/
 * @version $Id: TexturedText.java,v 1.5 2004/02/09 03:33:49 ian Exp $
 */

From source file PictureScaler.java

/**
 *
 * @author Chet
 */
public class PictureScaler extends JComponent {

From source file ScaleTest_2008.java

/**
 *
 * @author Chet
 */
public class ScaleTest_2008 extends JComponent {

From source file DrawShapes_2008.java

/**
 *
 * @author Chet
 */
public class DrawShapes_2008 extends JComponent {

From source file net.sf.firemox.tools.Picture.java

/**
 * A JComponent displaying an image. The picture is sized to suit to the
 * component size.<br>
 * <ul>
 * TODO Add context menu to this component to:
 * <li>display the picture with right size</li>

From source file com.nbt.TileCanvas.java

@SuppressWarnings("serial")
public class TileCanvas extends JComponent {

    public static final String KEY_TILE_X = "tileX", KEY_TILE_Z = "tileZ", KEY_ALTITUDE = "altitude",
            KEY_WIDTH = "width", KEY_HEIGHT = "height";

From source file IconDisplayer.java

public class IconDisplayer extends JComponent {
    private Icon icon;

    private int preferredNumImages = 2;

    private int pad = 5; //space between images

From source file org.eurocarbdb.application.glycoworkbench.plugin.reporting.ProfilesComparisonReportChartCanvas.java

public class ProfilesComparisonReportChartCanvas extends JComponent implements SVGUtils.Renderable, Printable {

    private static final int DRAW_X_MARGIN = 20;
    private static final int DRAW_Y_MARGIN = 20;
    private static final int CHART_X_MARGIN = 20;
    private static final int CHART_Y_MARGIN = 20;

From source file CalIcon.java

/**
 * Display one of those standard Calendar Page icons with Weekday, Day and
 * Month. Can be used as the Icon in a JButton. Can include or exclude an
 * updating Clock at the top (invoke constructor with value of true to include).
 * However, it should be excluded when using as an Icon, and true when using as
 * a Component.