Frage

I have a Jdialog which contains JTextFields and a Save button.How do I create a database table which stores ProjectId, ProjectName and Description and store them locally?

War es hilfreich?

Lösung

For something like this you could use SQLite and the relevant JDBC driver. Here'e a tutorial which will help http://www.tutorialspoint.com/sqlite/sqlite_java.htm

SQLite allows you to create a local database on the file system, so you won't need a database server to host it.

Andere Tipps

NetBeans Tutorial or Derby Database

There are two tutorials to add a database to you project in NetBeans.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top