Убран лишний пробел
This commit is contained in:
parent
e67810013b
commit
366c6e94bc
@ -26,7 +26,6 @@ public class PictureBoxRandomGeneration extends JPanel {
|
|||||||
buttonRandomCreation.setVerticalTextPosition(JButton.CENTER);
|
buttonRandomCreation.setVerticalTextPosition(JButton.CENTER);
|
||||||
buttonRandomCreation.setAlignmentX(Component.CENTER_ALIGNMENT);
|
buttonRandomCreation.setAlignmentX(Component.CENTER_ALIGNMENT);
|
||||||
|
|
||||||
|
|
||||||
buttonRandomCreation.addActionListener(e -> {
|
buttonRandomCreation.addActionListener(e -> {
|
||||||
drawingLocomotive = randomGeneric.getDrawingLocomotive();
|
drawingLocomotive = randomGeneric.getDrawingLocomotive();
|
||||||
repaint();
|
repaint();
|
||||||
|
Loading…
Reference in New Issue
Block a user