Results 1 to 2 of 2
  1. #1
    Subhasri is offline Member
    Join Date
    Sep 2011
    Rep Power

    Post How to delete a selected row in JTable in Key Event?

    I have to delete a selected row in JTable using the Key Event.When i select a row and pressing the Delete Key,the selected row values should be deleted.

    How to do this?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: How to delete a selected row in JTable in Key Event?

    You're probably using a DefaultTableModel; read its API documentation.

    kind regards,

    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. how to get the currently selected row fo a jtable?
    By kulangotski in forum AWT / Swing
    Replies: 4
    Last Post: 01-16-2011, 06:22 AM
  2. Replies: 6
    Last Post: 01-30-2010, 03:55 PM
  3. JTable Gridline in selected row
    By arubin in forum AWT / Swing
    Replies: 11
    Last Post: 11-24-2009, 08:05 PM
  4. Replies: 15
    Last Post: 11-13-2009, 12:00 PM
  5. JTable problem with getting ROW selected
    By nadia in forum Advanced Java
    Replies: 2
    Last Post: 01-13-2009, 06:57 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