import javax.swing.*; public class Program { public static void main(String[] args) { FormMapWithSetArtilleries form = new FormMapWithSetArtilleries(); form.setSize(640, 480); form.setVisible(true); form.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); } }