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