Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import javax.swing.JSpinner;

public class Main {
    public static void main(String[] argv) throws Exception {
        // Create a number spinner
        JSpinner spinner = new JSpinner();

        // Set its value
        spinner.setValue(new Integer(100));
    }
}