Example usage for javax.swing JSlider subclass-usage

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

Introduction

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

Usage

From source file MainClass.java

class VolumeRenderer extends JSlider implements TableCellRenderer {

    public VolumeRenderer() {
        super(SwingConstants.HORIZONTAL);
        setSize(115, 15);
    }

From source file MainClass.java

class VolumeEditor extends JSlider implements TableCellEditor {

    public OkCancel helper = new OkCancel();

    protected transient Vector listeners;

From source file MixerTest2.java

class VolumeRenderer extends JSlider implements TableCellRenderer {

    public VolumeRenderer() {
        super(SwingConstants.HORIZONTAL);
        // set a starting size...some 1.2/1.3 systems need this
        setSize(115, 15);