@@ -0,0 +1,1902 @@
+package org.scijava.ui.swing.widget;%0A%0Aimport org.scijava.Context;%0Aimport org.scijava.command.Command;%0Aimport org.scijava.command.CommandService;%0Aimport org.scijava.plugin.Parameter;%0Aimport org.scijava.ui.UIService;%0A%0Apublic class SwingNumberWidgetDemo implements Command %7B%0A%0A%09@Parameter(persist = false)%0A%09private Double a = 0.0000123;%0A%0A%09@Parameter(persist = false)%0A%09private Double b = 0.000123;%0A%0A%09@Parameter(persist = false)%0A%09private Double c = 0.00123;%0A%0A%09@Parameter(persist = false)%0A%09private Double d = 0.0123;%0A%0A%09@Parameter(persist = false)%0A%09private Double e = 0.123;%0A%0A%09@Parameter(persist = false)%0A%09private Double f = 1.23;%0A%0A%09@Parameter(persist = false)%0A%09private Double g = 123d;%0A%0A%09@Parameter(min = %220.0%22, max = %2210.0%22, stepSize = %220.001%22, persist = false)%0A%09private Double h = 1d;%0A%0A%09@Parameter(style = %22format:#.##%22, persist = false)%0A%09private Double i = 0.0123;%0A%0A%09@Parameter(style = %22format:#.00%22, persist = false)%0A%09private Double j = 0.0123;%0A%0A%09@Parameter(style = %22format:#####.#####%22, persist = false)%0A%09private Double k = 123.45;%0A%0A%09@Parameter(style = %22format:00000.00000%22, persist = false)%0A%09private Double l = 123.45;%0A%0A%09@Parameter(style = %22slider%22, min = %220%22, max = %2210%22, stepSize = %220.001%22, persist = false)%0A%09private Double m = 1d;%0A%0A%09@Parameter(style = %22slider,format:0.0000%22, min = %220%22, max = %2210%22, stepSize = %220.001%22, persist = false)%0A%09private Double n = 1d;%0A%0A%09@Parameter(style = %22scroll bar%22, min = %220%22, max = %2210%22, stepSize = %220.001%22, persist = false)%0A%09private Double o = 1d;%0A%0A%09@Parameter(style = %22scroll bar,format:0.0000%22, min = %220%22, max = %2210%22, stepSize = %220.001%22, persist = false)%0A%09private Double p = 1d;%0A%0A%09@Override%0A%09public void run() %7B%0A%09%09// Nothing to do.%0A%09%7D%0A%0A%09public static void main(final String... args) throws Exception %7B%0A%09%09Context context = new Context();%0A%09%09context.service(UIService.class).showUI();%0A%09%09context.service(CommandService.class).run(SwingNumberWidgetDemo.class, true);%0A%09%7D%0A%7D%0A

Add SwingNumberWidgetDemo