The Artima Developer Community
Sponsored Link

Java Answers Forum
how to enter the values in JTable in runtime

1 reply on 1 page. Most recent reply: Jan 8, 2003 8:06 PM by Ugo Posada

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Senthil

Posts: 1
Nickname: sj
Registered: Dec, 2002

how to enter the values in JTable in runtime Posted: Dec 28, 2002 4:49 AM
Reply to this message Reply
Advertisement
how to enter the values in JTable in runtime


Ugo Posada

Posts: 37
Nickname: binaryx
Registered: Dec, 2002

Re: how to enter the values in JTable in runtime Posted: Jan 8, 2003 8:06 PM
Reply to this message Reply
Build the JTable using a DefaultTableModel as a parameter in one of its constructors, then , there is a method that given two vectors or two collections updates the view of the JTable, just take a look to the DefaultTableModel's javadoc.

Later.

Ugo Posada Zabala
Universidad de los Andes
Bogot? - Colombia

Flat View: This topic has 1 reply on 1 page
Topic: Introspection Previous Topic   Next Topic Topic: finalize( ) method of the Object Class.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use