Лёвушкина Анна, ПИбд-21, лаб1 сложная #1

Closed
AnnaLioness wants to merge 3 commits from lab1_compl into main
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 53064877f6 - Show all commits

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();
}
}