19 lines
597 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 _formLocomotiveCollection;
public FrameElectricLocomotive() {
super();
2023-10-29 17:10:37 +04:00
setTitle("Электролокомотив");
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
2023-10-21 22:32:22 +04:00
_formLocomotiveCollection = new FormElectricLocomotive();
setContentPane(_formLocomotiveCollection.getPictureBox());
setDefaultLookAndFeelDecorated(false);
setLocation(500, 200);
pack();
setVisible(true);
}
}