Skip to content

Commit bfcc498

Browse files
authored
Update BouncingBall.java
1 parent 9529f40 commit bfcc498

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BouncingBall.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// The program outputs a Ball bouncing inside the Output window. Try varying the size of the Output window for dynamic results.
2+
13
import java.awt.*;
24
import javax.swing.*;
35

@@ -73,4 +75,4 @@ public static void main(String[] args) {
7375
frame.setContentPane(new BouncingBall());
7476
frame.setVisible(true);
7577
}
76-
}
78+
}

0 commit comments

Comments
 (0)