commit2
This commit is contained in:
parent
b6967382fa
commit
815fc43a7d
@ -6,7 +6,7 @@ import javax.swing.*;
|
||||
import javax.swing.Timer;
|
||||
import java.awt.event.*;
|
||||
|
||||
public class Form1{
|
||||
public class FormTrain{
|
||||
private DrawingLoco _drawingLoco;
|
||||
Canvas canv;
|
||||
|
||||
@ -14,7 +14,7 @@ public class Form1{
|
||||
canv.repaint();
|
||||
}
|
||||
|
||||
public Form1(){
|
||||
public FormTrain(){
|
||||
JFrame w=new JFrame ("Loco");
|
||||
JButton buttonCreate = new JButton("create");
|
||||
JButton up = new JButton();
|
@ -2,6 +2,6 @@ package laba1Loco;
|
||||
|
||||
public class Main{
|
||||
public static void main(String[] args) {
|
||||
Form1 form1 = new Form1();
|
||||
FormTrain formTrain = new FormTrain();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user