Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import javax.swing.JSlider;

public class Main {
    public static void main(String[] argv) throws Exception {
        int initValue = 0;
        int minimum = 10;
        int maximum = 100;

        JSlider slider = new JSlider(JSlider.VERTICAL, minimum, maximum, initValue);
    }
}