Java GUI layout

Discussion in 'Java' started by wbeaumo, Mar 16, 2007.

  1. wbeaumo

    wbeaumo Guest

    Hello. I am re-designing the look and feel of a Java program for my
    company. This program displays individual JTables in a JTabbedPane.
    Each table has cells with numeric values that can be edited by
    clicking on them and causing spinners to appear. However, I would like
    the spinners to appear all the time, not just when the user is editing
    a cell. Is this possible?
    wbeaumo, Mar 16, 2007
    #1
    1. Advertising

  2. wbeaumo

    Eric Sosman Guest

    wbeaumo wrote:
    > Hello. I am re-designing the look and feel of a Java program for my
    > company. This program displays individual JTables in a JTabbedPane.
    > Each table has cells with numeric values that can be edited by
    > clicking on them and causing spinners to appear. However, I would like
    > the spinners to appear all the time, not just when the user is editing
    > a cell. Is this possible?


    It sounds like you want to customize the CellRenderers
    as well as the CellEditors.

    --
    Eric Sosman
    lid
    Eric Sosman, Mar 16, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rick Spiewak
    Replies:
    3
    Views:
    3,134
    Rick Spiewak
    Aug 26, 2003
  2. RobertH
    Replies:
    1
    Views:
    710
    Steve C. Orr [MVP, MCSD]
    Nov 4, 2003
  3. NWx
    Replies:
    4
    Views:
    2,951
    Kevin Spencer
    Feb 19, 2004
  4. Eric
    Replies:
    4
    Views:
    699
    clintonG
    Dec 24, 2004
  5. Replies:
    1
    Views:
    564
    John Timney \(MVP\)
    Jun 19, 2006
Loading...

Share This Page