From 8f3478b2b58e7728d3213dbe15890c3298134a97 Mon Sep 17 00:00:00 2001 From: ekallin Date: Sun, 19 Nov 2023 00:08:09 +0400 Subject: [PATCH] create lab 5, start with formConfig --- .../FormLocomotiveConfig.form | 254 ++++++++++++++++++ .../FormLocomotiveConfig.java | 22 ++ 2 files changed, 276 insertions(+) create mode 100644 ProjectElectricLocomotive/FormLocomotiveConfig.form create mode 100644 ProjectElectricLocomotive/FormLocomotiveConfig.java diff --git a/ProjectElectricLocomotive/FormLocomotiveConfig.form b/ProjectElectricLocomotive/FormLocomotiveConfig.form new file mode 100644 index 0000000..6b85332 --- /dev/null +++ b/ProjectElectricLocomotive/FormLocomotiveConfig.form @@ -0,0 +1,254 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/ProjectElectricLocomotive/FormLocomotiveConfig.java b/ProjectElectricLocomotive/FormLocomotiveConfig.java new file mode 100644 index 0000000..31564d3 --- /dev/null +++ b/ProjectElectricLocomotive/FormLocomotiveConfig.java @@ -0,0 +1,22 @@ +package ProjectElectricLocomotive; + +import javax.swing.*; + +public class FormLocomotiveConfig { + private JPanel MainPanel; + private JPanel groupBoxObjectParameters; + private JPanel groupBoxColors; + private JSpinner numericUpDownSpeed; + private JSpinner numericUpDownWeight; + private JLabel labelSpeed; + private JLabel labelWeight; + private JCheckBox checkBoxHorns; + private JCheckBox checkBoxSeifBatteries; + private JLabel lableSimpleObject; + private JLabel labelModifiedObject; + private JButton buttonOk; + private JButton buttonClose; + private JLabel labelColor; + private JLabel labelDopColor; + private JPanel pictureBoxObject; +}