Pergunta

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?

Foi útil?

Solução

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.

Outras dicas

NetBeans Tutorial or Derby Database

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top