From 3edcac277f61e6e039ace7b0069c503d197b467c Mon Sep 17 00:00:00 2001 From: nezui1 <104579567+nezui1@users.noreply.github.com> Date: Mon, 22 Apr 2024 23:16:56 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D1=87=D1=82=D0=B8=20=D0=B3=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectAirFighter/src/Main.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ProjectAirFighter/src/Main.java b/ProjectAirFighter/src/Main.java index f399ada..a4b609d 100644 --- a/ProjectAirFighter/src/Main.java +++ b/ProjectAirFighter/src/Main.java @@ -1,7 +1,17 @@ //TIP To Run code, press or // click the icon in the gutter. +import javax.swing.*; + public class Main { public static void main(String[] args) { + JFrame.setDefaultLookAndFeelDecorated(false); + JFrame frame = new JFrame("Истребитель"); + frame.setContentPane(new FormAirFighter().getPanelWrapper()); + frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + frame.setLocation(200, 200); + frame.pack(); + frame.setSize(1000, 600); + frame.setVisible(true); }