The AdministratorFrame class
The frame now only needs to show ZooKeeperPanel inside a tab of a JTabbedPane. Create a class in virtualzoo.ui called AdministratorFrame:
Change the main() method of VirtualZoo to instantiate AdministratorFrame (you will need to import virtualzoo.ui):
At this point you can run the application to ensure it appears as below:
You will note that after entering some details and clicking the Save button the added zookeeper is not appearing in the list on the left. This will be addressed in the next lesson.