Мелкие правки к 1 лабораторной
This commit is contained in:
parent
c2fee6a8f0
commit
1d873b4a41
@ -4,6 +4,7 @@ import java.awt.*;
|
||||
|
||||
public class DrawingWheels {
|
||||
private WheelNumber wheelNumber;
|
||||
|
||||
public void setWheelNumber(int number) {
|
||||
switch (number) {
|
||||
case 2:
|
||||
|
@ -5,6 +5,7 @@ import javax.swing.*;
|
||||
public class FrameMonorail extends JFrame {
|
||||
|
||||
PictureBox pictureBox;
|
||||
|
||||
public FrameMonorail() {
|
||||
super("Monorail");
|
||||
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
Loading…
Reference in New Issue
Block a user