Two Laptop Bag
The moose likes Applets and the fly likes Dynamic table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Dynamic table " Watch "Dynamic table " New topic

Dynamic table

Sandy George

Joined: Jun 18, 2006
Posts: 1
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,
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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.
I agree. Here's the link:
subject: Dynamic table
It's not a secret anymore!