кнопки не пропадают
This commit is contained in:
parent
21cf202793
commit
fbec28cbb1
@ -1,4 +1,4 @@
|
||||
import javafx.scene.paint.Color;
|
||||
import java.awt.Color;
|
||||
|
||||
public class EntityWarmlyLocomotive {
|
||||
|
||||
|
@ -50,7 +50,7 @@ public class FormWarmlyLocomotive extends JFrame {
|
||||
leftButton.setSize(30, 30);
|
||||
leftButton.setLocation(775, 420);
|
||||
pictureBox.add(leftButton);
|
||||
|
||||
repaint();
|
||||
add(pictureBox);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user