質問編集履歴

2

文法の修正

2025/02/16 10:26

投稿

momijimomikko
momijimomikko

スコア1

test CHANGED
File without changes
test CHANGED
@@ -11,7 +11,7 @@
11
11
  ・フレーム以外何も表示されません
12
12
  ### 該当のソースコード
13
13
  ・javaです
14
-
14
+ ```````````````````````````````````````````````````````````````````````````
15
15
  import javax.swing.*;
16
16
  import java.awt.*;
17
17
 
@@ -55,7 +55,7 @@
55
55
  f.setVisible(true);
56
56
  }
57
57
  }
58
- _____________________________________________________________________
58
+ ```````````````````````````````````````````````````````````````````````````
59
59
 
60
60
  実行結果
61
61
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2025-02-16/5402e9a3-b4fe-4184-9698-560557dd595d.png)

1

誤字

2025/02/15 22:24

投稿

momijimomikko
momijimomikko

スコア1

test CHANGED
File without changes
test CHANGED
@@ -11,7 +11,7 @@
11
11
  ・フレーム以外何も表示されません
12
12
  ### 該当のソースコード
13
13
  ・javaです
14
- ________________________________________________________________
14
+
15
15
  import javax.swing.*;
16
16
  import java.awt.*;
17
17
 
@@ -32,7 +32,7 @@
32
32
  JLabel l1 = new JLabel("label1");
33
33
  JLabel l2 = new JLabel("label2");
34
34
 
35
- ImageIcon icon1 = new ImageIcon("./img/ShootingHome1.png"); //SHOOTING GAME!
35
+ ImageIcon icon1 = new ImageIcon("./img/ShootingHome1.png");
36
36
 
37
37
  l1.setBounds(100,100,1000,300);
38
38
  l2.setBounds(0,0,1200,700);