Anonymous user
99 bottles of beer: Difference between revisions
m
→GUI: Should have used libheaders
(Ada example) |
m (→GUI: Should have used libheaders) |
||
Line 57:
===GUI===
{{
{{
This version requires user interaction. The first two lines are shown in a text area on a window. The third line is shown on a button which you need to click to see the fourth line in a message box. The numbers update and the process repeats until "0 bottles of beer on the wall" is shown in a message box, when the program ends.
<java>import java.awt.BorderLayout;
|