Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic table

 
Sandy George
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am rewriting an Oracle Forms application to a Java app using Applets and using Swing components. I need to implement a dynamic table, as in Forms, where the user can update the table, and the changes are reflected back in the database.
How can I do this ?

Thanks in advance,
S
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sandy-

Welcome to JavaRanch.

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, look into the javax.swing.JTable class, which implements editable tables. Oracke Forms probably does more, but I don't know it, so can't recommened what else to use. The Java Tutorial has a section on building GUIs with Swing -of which JTable is a part- which will come in handy. Check it out and come back here with more concrete questions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic