22 lines
673 B
Java
22 lines
673 B
Java
|
package ProjectElectricLocomotive;
|
||
|
|
||
|
import javax.swing.*;
|
||
|
|
||
|
public class MainFrameElectricLocomotive extends JFrame {
|
||
|
private FormElectricLocomotive _formElectricLocomotive;
|
||
|
public MainFrameElectricLocomotive()
|
||
|
{
|
||
|
super("Электролокомотив");
|
||
|
setDefaultCloseOperation(EXIT_ON_CLOSE);
|
||
|
_formElectricLocomotive = new FormElectricLocomotive();
|
||
|
setContentPane(_formElectricLocomotive.getPictureBox());
|
||
|
setDefaultLookAndFeelDecorated(false);
|
||
|
setLocation(500, 50);
|
||
|
pack();
|
||
|
setVisible(true);
|
||
|
}
|
||
|
}
|
||
|
// MainFrameStormtrooper mainFrameStormtrooper = new MainFrameStormtrooper();
|
||
|
// }
|
||
|
//}
|