PIbd-21_Potapov_N.S._Stormt.../ProjectStormtrooper/FrameStormtrooper.java

18 lines
503 B
Java

package ProjectStormtrooper;
import javax.swing.*;
public class FrameStormtrooper extends JFrame {
public FormStormtrooper _formStromtrooper;
public FrameStormtrooper() {
super();
setTitle("Штурмовик");
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
_formStromtrooper = new FormStormtrooper();
setContentPane(_formStromtrooper.getPictureBox());
setDefaultLookAndFeelDecorated(false);
setLocation(300, 100);
pack();
}
}