Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Posts
    88
    Rep Power
    0

    Default add jformattedTextfield in jtable

    plz tell how to add jformatedfield or set a jtable column that accepts only number after assigning defaulttablemodel for the table

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,234
    Rep Power
    7

    Default

    Override the getColumnClass() method to return Integer for the specific column and the appropriate default editore will be used.

    Read the tutorial link you've been given in your other posting.

Similar Threads

  1. JFormattedTextField / Formatter / OverWriteMode
    By Ralphw in forum AWT / Swing
    Replies: 1
    Last Post: 08-20-2009, 11:23 AM
  2. JFormattedTextField + SimpleDateFormat
    By Ralphw in forum AWT / Swing
    Replies: 1
    Last Post: 07-07-2009, 10:53 AM
  3. Problems with JFormattedTextField
    By Gatts79 in forum New To Java
    Replies: 0
    Last Post: 10-03-2008, 04:59 PM
  4. Replies: 2
    Last Post: 05-15-2008, 10:15 AM
  5. JFormattedTextField Issue
    By teracomp in forum AWT / Swing
    Replies: 1
    Last Post: 01-21-2008, 06:55 PM

Posting Permissions

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