From 3989c62269756180160f60d9398023633ec591d5 Mon Sep 17 00:00:00 2001 From: ekallin Date: Tue, 7 Nov 2023 00:52:46 +0400 Subject: [PATCH] Modified FormLocomotiveCollections --- .../FormLocomotiveCollections.form | 66 ++++++++++++++----- .../FormLocomotiveCollections.java | 4 ++ 2 files changed, 54 insertions(+), 16 deletions(-) diff --git a/ProjectElectricLocomotive/FormLocomotiveCollections.form b/ProjectElectricLocomotive/FormLocomotiveCollections.form index b1bcaa2..ac1e08b 100644 --- a/ProjectElectricLocomotive/FormLocomotiveCollections.form +++ b/ProjectElectricLocomotive/FormLocomotiveCollections.form @@ -3,7 +3,7 @@ - + @@ -21,7 +21,7 @@ - + @@ -39,20 +39,62 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + - + @@ -60,7 +102,7 @@ - + @@ -68,20 +110,12 @@ - + - - - - - - - - - + diff --git a/ProjectElectricLocomotive/FormLocomotiveCollections.java b/ProjectElectricLocomotive/FormLocomotiveCollections.java index 6f879ae..ebabad0 100644 --- a/ProjectElectricLocomotive/FormLocomotiveCollections.java +++ b/ProjectElectricLocomotive/FormLocomotiveCollections.java @@ -15,6 +15,10 @@ public class FormLocomotiveCollections { private JButton ButtonRefreshCollection; private JButton ButtonRemoveLocomotive; private JButton ButtonCreateRandomLoco; + private JTextField textBoxStorageName; + private JButton ButtonAddObject; + private JList listBoxStorage; + private JButton ButtomRemoveObject; public DrawingLocomotive loco; LocomotiveGenericCollection _locomotives;