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

    Default Confusion in jtable cell editor

    Hello i am extending AbstractCellEditor and implementing TableCellEditor.
    Here
    public Object getCellEditorValue() {
    // IN this block i want to get the value of current editing cel value plz
    help me

    }

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,021
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by anilkumar_vist View Post
    Hello i am extending AbstractCellEditor and implementing TableCellEditor.
    Here
    public Object getCellEditorValue() {
    // IN this block i want to get the value of current editing cel value plz
    help me

    }
    How do we know? You are the one who's building an editor for particular cell types (and values). Have a look at the DefaultCellEditor and see how it can be done. (it uses a delegate object).

    kind regards,

    Jos

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

Similar Threads

  1. Merg JTABLE CELL
    By anilkumar_vist in forum New To Java
    Replies: 1
    Last Post: 01-25-2010, 04:02 PM
  2. Color cell in JTable
    By ippacciani in forum AWT / Swing
    Replies: 3
    Last Post: 03-25-2009, 11:53 AM
  3. Event after comit the value in cell editor
    By Gajesh Tripathi in forum AWT / Swing
    Replies: 0
    Last Post: 10-16-2008, 07:48 AM
  4. jTable Cell editing
    By mahaling_m in forum AWT / Swing
    Replies: 0
    Last Post: 06-23-2008, 08:17 AM
  5. Jframe In Jtable cell
    By Clarion in forum AWT / Swing
    Replies: 4
    Last Post: 06-23-2008, 04:42 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
  •