Results 1 to 2 of 2
  1. #1
    pink123 is offline Member
    Join Date
    Feb 2011
    Posts
    84
    Rep Power
    0

    Default Is it necessary to override setValueAt

    Hi,

    Is it always necessary to override the setValue method for a tablemodelClass
    that implements AbstractTableModel.

    I want to make the data in the table editable I will have to implement setValue at?

    After changing data my changes are not reflecting on the table ,is the reason is that I havent implemented the setValue method.

    Please help.
    Thanks,

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    Quote Originally Posted by pink123 View Post
    Hi,

    Is it always necessary to override the setValue method for a tablemodelClass
    that implements AbstractTableModel.

    I want to make the data in the table editable I will have to implement setValue at?

    After changing data my changes are not reflecting on the table ,is the reason is that I havent implemented the setValue method.

    Please help.
    Thanks,
    You'll get a quick view of the answer if you try this in your code first. Next, read the AbstractTableModel API and the tutorial as this is all well answered there as well.

Similar Threads

  1. Help Please Override Activity with Android
    By francojava1 in forum Android
    Replies: 2
    Last Post: 10-12-2010, 06:35 PM
  2. override the close button
    By shaay in forum AWT / Swing
    Replies: 4
    Last Post: 08-29-2010, 03:42 PM
  3. @Override Annotation
    By Unsub in forum New To Java
    Replies: 2
    Last Post: 01-30-2010, 02:06 PM
  4. @Override Exception Error
    By chappa in forum New To Java
    Replies: 2
    Last Post: 01-13-2010, 06:50 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
  •