Magic with Merlin, Swing's new Spinner component

Allow users to quickly choose dates, numbers, and selections from pick lists with JSpinner

From the developerWorks archives

John Zukowski

Date archived: December 19, 2016 | First published: July 01, 2001

Welcome to Magic with Merlin, a bi-weekly series designed to give you a leg up on programming with Java 2 Standard Edition, version 1.4. Over the coming months, author John Zukowski will offer tips and tricks for navigating the wealth of new features in this release. In this installment, John describes the new JSpinner component of Swing, which allows you to choose dates, numbers, and selections from pick lists.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.

Zone=Java development
ArticleTitle=Magic with Merlin: Swing's new Spinner component