Results 1 to 2 of 2
  1. #1
    balleda is offline Member
    Join Date
    Mar 2010
    Posts
    2
    Rep Power
    0

    Default how to add data to cells of JTable(Drag & Droped from matisse pale)

    I am using Matise Pale tool for Draging jtable.
    now i want to insert a check box & text box in this table and also insert data insert data into it from dbtable.
    please help it is urgent.

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    7

    Default

    Swing's JTable is not an "out of the box" solution. Instead, it and its related components are designed to let you create your own, customized table. Look at Sun's Java Tutorial to see how it works. Generally, I suggest creating your own TableModel directly from the interface. To hold the data, create MyDataRow class and implement a list your TableModel.

Similar Threads

  1. Add datas to cells of JTable ???
    By bilgohan in forum AWT / Swing
    Replies: 5
    Last Post: 02-22-2010, 09:56 AM
  2. Coloring JTable cells
    By ProgrammingPup in forum Advanced Java
    Replies: 2
    Last Post: 11-04-2009, 10:57 PM
  3. How to merge cells of JTable
    By nehaa in forum AWT / Swing
    Replies: 1
    Last Post: 05-19-2009, 01:07 PM
  4. how to merge cells /colspan in Jtable
    By ravrajesh.ap in forum AWT / Swing
    Replies: 0
    Last Post: 01-03-2009, 04:25 PM
  5. Getting objects from JTable Cells.
    By girigl in forum AWT / Swing
    Replies: 3
    Last Post: 12-24-2008, 10:46 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
  •