回答編集履歴

1

typo

2022/01/08 14:19

投稿

shiketa
shiketa

スコア3971

test CHANGED
@@ -17,10 +17,6 @@
17
17
  ```java
18
18
 
19
19
  import javafx.application.Application;
20
-
21
- import javafx.event.ActionEvent;
22
-
23
- import javafx.event.EventHandler;
24
20
 
25
21
  import javafx.scene.Scene;
26
22
 
@@ -50,7 +46,7 @@
50
46
 
51
47
 
52
48
 
53
- public static class App extends Application {
49
+ public static class App extends Application {
54
50
 
55
51
  private Rectangle newReac() {
56
52
 
@@ -58,7 +54,7 @@
58
54
 
59
55
  rect.setStyle("background: red");
60
56
 
61
- rect.setFill(new Color(Math.random(),Math.random(),Math.random(), 1.0));
57
+ rect.setFill(new Color(Math.random(), Math.random(), Math.random(), 1.0));
62
58
 
63
59
  return rect;
64
60