2023-10-20 22:43:07 +04:00
|
|
|
|
package ProjectStormtrooper;
|
|
|
|
|
|
|
|
|
|
import javax.swing.*;
|
|
|
|
|
|
|
|
|
|
public class FramePlaneCollection extends JFrame {
|
|
|
|
|
FormPlaneCollection _formPlaneCollection;
|
|
|
|
|
public FramePlaneCollection() {
|
|
|
|
|
super();
|
|
|
|
|
setTitle("Набор самолетов");
|
|
|
|
|
setDefaultCloseOperation(EXIT_ON_CLOSE);
|
|
|
|
|
_formPlaneCollection = new FormPlaneCollection();
|
|
|
|
|
setContentPane(_formPlaneCollection.getPanelWrapper());
|
2023-12-17 19:08:22 +04:00
|
|
|
|
this.setJMenuBar(_formPlaneCollection.getMenuBar());
|
2023-10-20 22:43:07 +04:00
|
|
|
|
setDefaultLookAndFeelDecorated(false);
|
|
|
|
|
setLocation(300, 100);
|
|
|
|
|
pack();
|
|
|
|
|
}
|
|
|
|
|
}
|