2023-10-21 22:32:22 +04:00
|
|
|
package ProjectElectricLocomotive;
|
|
|
|
|
|
|
|
import javax.swing.*;
|
|
|
|
|
|
|
|
public class FrameElectricLocomotive extends JFrame {
|
2023-11-08 00:17:28 +04:00
|
|
|
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);
|
2023-11-08 00:17:28 +04:00
|
|
|
_formElectricLocomotive = new FormElectricLocomotive();
|
|
|
|
setContentPane(_formElectricLocomotive.getPictureBox());
|
2023-10-21 22:32:22 +04:00
|
|
|
setDefaultLookAndFeelDecorated(false);
|
|
|
|
setLocation(500, 200);
|
|
|
|
pack();
|
|
|
|
setVisible(true);
|
|
|
|
}
|
|
|
|
}
|