Part 1: Create a window with two tabs using WindowBuilder. When a user clicks on the first tab, she can insert records into a database and she can query from the database if she clicks on the second tab. The window should be as follows.
Part 2: Add necessary codes to achieve the functions of adding records and executing queries.
Sample Solution