Discussions

Web tier: servlets, JSP, Web frameworks: Swing JTable Cell Validation

  1. Swing JTable Cell Validation (2 messages)

    What is the best way to validate a Time format in Java i.e using a JTable cell. The format is example 7:20 AM

    Thanks much.

    Threaded Messages (2)

  2. Swing JTable Cell Validation[ Go to top ]

    You can use javax.swing.InputVerifier on the JTable.

    David
  3. Thanks[ Go to top ]

    Thanks for your reply David it helped a alot.
    I created a JTextField in the cell as a cell editor and added the inputVerifer

    Thanks