Display a 'busy' pointer while example program is fetched from URL.
Chris Pressey
14 years ago
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
8 | 8 | import java.awt.BorderLayout; |
9 | 9 | import java.awt.FlowLayout; |
10 | 10 | import java.awt.Color; |
11 | import java.awt.Cursor; | |
11 | 12 | import java.awt.Dimension; |
12 | 13 | import java.awt.Font; |
13 | 14 | import java.awt.event.KeyEvent; |
665 | 666 | } |
666 | 667 | |
667 | 668 | protected void loadExampleProgram(int index) { |
669 | setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); | |
668 | 670 | initialState = language.loadExampleProgram(index); |
669 | 671 | applyCurrentlySelectedOptions(initialState); |
670 | 672 | reset(); |
673 | setCursor(null); | |
671 | 674 | } |
672 | 675 | |
673 | 676 | protected void showAboutBox() { |