Programming Java Database

 Assignment-4 

Create the user interface shown below in WindowBuilder. 

Write a Java program to do the following: 

When the user clicks on the “Display Records Button, read all the records from the product table in demo.db 

Display the data in the TextArea below the Button, one line per record. 

Separate each field in the record by a comma. 

Sample output:(Note this is NOT the actual data in the table) 

Hammer,200,7.99 

Nalis,500,0.78

Bolts,300,1.23

Nuts,300,1.12 

Tags: No tags