19 lines
591 B
Java
Raw Normal View History

2023-10-21 22:32:22 +04:00
package ProjectElectricLocomotive;
import javax.swing.*;
public class FrameElectricLocomotive extends JFrame {
public FormElectricLocomotive _formElectricLocomotive;
2023-10-21 22:32:22 +04:00
public FrameElectricLocomotive() {
super();
2023-11-06 20:57:19 +04:00
setTitle("Электролокомотив");
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
_formElectricLocomotive = new FormElectricLocomotive();
setContentPane(_formElectricLocomotive.getPictureBox());
2023-10-21 22:32:22 +04:00
setDefaultLookAndFeelDecorated(false);
setLocation(500, 200);
pack();
setVisible(true);
}
}