Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void comecaJogo1(int t)
- {
- jButton1.setBackground( new Color( 255, 100, 100 ) ); //vermelho fraco
- try {
- Thread.sleep(100); //1000 milliseconds is one second.
- } catch(InterruptedException ex) {
- //Thread.currentThread().interrupt();
- }
- jButton1.setBackground( new Color( 255, 0, 0 ) ); // vermelho forte
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement