wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes table row creation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "table row creation problem" Watch "table row creation problem" New topic
Author

table row creation problem

Sandeep Mukherji
Ranch Hand

Joined: Mar 23, 2008
Posts: 46
hi to all,

I have created function to create a table having n number of rows.

Now I want to add rows to the table at the ActionKey event on the table. How can I do it?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Originally posted by Sandeep Mukherji:
hi to all,

I have created function to create a table having n number of rows.

Now I want to add rows to the table at the ActionKey event on the table. How can I do it?


The default table model has addRow and insertRow methods which you can use.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: table row creation problem