-3

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?

Sandeep Chatterjee
  • 3,220
  • 9
  • 31
  • 47
mussdroid
  • 732
  • 1
  • 9
  • 22

2 Answers2

2

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.

Matthew Wilson
  • 2,045
  • 14
  • 27
0

NetBeans Tutorial or Derby Database

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

onesixtyfourth
  • 744
  • 9
  • 30