• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Jtable question

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am trying to do some work with Jtable but need to know if it can be done for sure before i go ahead with it.
I am trying to insert some data into a database table using JTable .... Intially when it starts the Jtable needs to start with only one row and .. and it needs to needs to add more rows one by one when one of the columns gets focus. there are totally 6 columns .. in which 3 of them are regular textfields .. but the other three.. when u enter the data it should be like a combo box. .. where u just select from the list .. and the options in the 2nd and 3rd combo boxes depend on the option chosen in the first one. that was when i eneter data into the databae ..
now when i need to display data .. the function should be somewhat the same .. the numbers of rows should be equal to the number of rows in the database ... and should be able to modify the data.
Can somebody who knows Jtable well tell me if this can be done ... and give me an idea as per how to do this one .
Thanks in advance ,
sandsouza
 
Seriously? That's what you're going with? I prefer this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic