|
@@ -87,8 +87,8 @@ public class GUI implements CategoryListener {
|
|
|
private final JComboBox comboBox = new JComboBox();
|
|
|
|
|
|
|
|
|
- private final JButton btnAdd = new JButton("Add");
|
|
|
- private final JButton btnDel = new JButton("Del");
|
|
|
+ private final JButton btnAdd = new JButton("+");
|
|
|
+ private final JButton btnDel = new JButton("-");
|
|
|
|
|
|
private final JToolBar toolBar = new JToolBar();
|
|
|
|
|
@@ -131,7 +131,7 @@ public class GUI implements CategoryListener {
|
|
|
menuBar.add(mnHelp);
|
|
|
|
|
|
|
|
|
- String[] columnNames = { "Consumer", "Units", "Number" };
|
|
|
+ String[] columnNames = { "Gadget", "Consumption", "Quantity" };
|
|
|
|
|
|
Object[][] data = { { "TV", "20", "1" }, { "PC", "30", "2" }, { "Fridge", "40", "1" } };
|
|
|
|