Inventory and POS System. Stage 4/5

Inventory

Report a typo

Description

Now that the program can store the orders into the database, it's time to visualize the inventory in our program!

Objectives

To complete this stage, your program should perform the following two things:

  1. Add a new tab to JTabbedPane named Inventory;
  2. This window should have the following elements (make sure the name matches so that the tests are successful):
    • JLabel named MerlotAmountLabel that displays the total amount of Merlot from the database;
    • JLabel named RoseAmountLabel that displays the total amount of Rosé from the database;
    • JLabel named SauvignonAmountLabel that displays the total amount of Sauvignon Blanc from the database;
    • JLabel named TotalAmountLabel that displays the total number of bottles in the inventory.

The program should take the data from the database and reflect it in the corresponding labels. Additionally, as users add new bottles from suppliers, this screen should reflect the updates immediately.

Example

Example 1: the inventory

Inventory in the Wine Merchant app

Write a program
IDE integration
Checking the IDE status
___

Create a free account to access the full topic