Вопрос

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?

Это было полезно?

Решение

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.

Другие советы

NetBeans Tutorial or Derby Database

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top