Results 1 to 2 of 2
  1. #1
    ngankt2 is offline Banned
    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0

    Default Help me! how to use JSpinner

    I'm using Swing to develop a small Application.
    And have used JSpinner to display System time.
    But I don't know how to take days or months or years?
    can you help me solve this problem? , Please .....................
    Thanks so much!
    I'm vietnamese.
    Last edited by ngankt2; 11-05-2010 at 08:44 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default

    Read the API for JSpinner and follow the link to the tutorial on How to Use Spinners, where you will find plenty of sample code. Also go through the API for SpinnerDateModel.

    db

Similar Threads

  1. [HELP]JSpinner Left Alignment
    By Hugo in forum AWT / Swing
    Replies: 7
    Last Post: 07-25-2011, 09:02 PM
  2. JSpinner problem
    By damlui in forum AWT / Swing
    Replies: 0
    Last Post: 09-29-2010, 04:15 PM
  3. One Jspinner modifying the value of the other
    By cotarelo in forum AWT / Swing
    Replies: 1
    Last Post: 06-11-2010, 03:48 PM
  4. JSpinner resizes, I don't want that.
    By JosAH in forum AWT / Swing
    Replies: 4
    Last Post: 05-30-2010, 10:11 AM
  5. Jtable Jspinner help
    By chiragkini in forum AWT / Swing
    Replies: 5
    Last Post: 08-15-2009, 05:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •