OptPane () { return pane( number("myInt", "before|after", 0, 10), number("myDouble", "", 0, 10), string("myString", "before|after"), dropdown("myOption", "before|after", new OptDropdown.Option("o1", new PlainMessage("option 1")), new OptDropdown.Option("o2", new PlainMessage("option 2")) ), separator(), checkbox("myBoolean", "") .description("description"), number("myNegativeInt", "", -1000, -1) ); }