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

18 lines
512 B
Java
Raw Normal View History

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