2023-11-21 17:42:25 +04:00

40 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package ProjectElectricLocomotive;
import javax.swing.*;
import java.awt.*;
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;
public JButton buttonOk;
private JButton buttonClose;
private JLabel labelColor;
private JLabel labelDopColor;
private JPanel pictureBoxObject;
public JPanel getPictureBoxObject(){
return pictureBoxObject;
}
public FormLocomotiveConfig()
{
MainPanel.setPreferredSize(new Dimension(900, 400));
pictureBoxObject.setPreferredSize(new Dimension(300, 300)); // почему только на это реагируем, а?
// groupBoxObjectParameters.setPreferredSize(new Dimension(600,400));
// groupBoxColors.setPreferredSize(new Dimension(210,200));
}
public void PanelMouse_Down(){
}
}