コード例 #1
0
 public void mouseExited(MouseEvent e) {
   window.standardWin();
   setBounds(121, height - 60, 145, 50);
   setBackground(new Color(0x34536C)); // button
   setForeground(new Color(0x947D68)); // text
 }
コード例 #2
0
 public void mouseEntered(MouseEvent e) {
   window.showScore();
   setBounds(115, height - 65, 157, 60);
   setBackground(new Color(0x977E69)); // background
   setForeground(new Color(0x34536C)); // text
 }