PIbd-21. Rodionov I.A. Lab work 03. Hard #3
@ -26,7 +26,6 @@ public class PictureBoxRandomGeneration extends JPanel {
|
||||
buttonRandomCreation.setVerticalTextPosition(JButton.CENTER);
|
||||
buttonRandomCreation.setAlignmentX(Component.CENTER_ALIGNMENT);
|
||||
|
||||
|
||||
buttonRandomCreation.addActionListener(e -> {
|
||||
drawingLocomotive = randomGeneric.getDrawingLocomotive();
|
||||
repaint();
|
||||
|
Loading…
x
Reference in New Issue
Block a user