This commit is contained in:
AnnaLioness 2023-10-20 18:55:41 +04:00
parent 1c91b62c04
commit 53064877f6
2 changed files with 3 additions and 3 deletions

View File

@ -2,14 +2,14 @@ import java.awt.*;
import java.util.*;
import javax.swing.*;
import java.awt.event.*;
public class Form1 {
public class FormContainerShip {
private DrawingContainerShip _drawingShip;
Canvas canv;
public void Draw(){
canv.repaint();
}
public Form1(){
public FormContainerShip(){
JFrame w=new JFrame ("ContainerShip");
JButton buttonCreate = new JButton("создать");
JButton up = new JButton();

View File

@ -1,5 +1,5 @@
public class Main {
public static void main(String[] args){
Form1 form1 = new Form1();
FormContainerShip form1 = new FormContainerShip();
}
}