Description: mport javax.swing .* import java.awt.event .* public class Block extends JButton implements ActionListener (ImageIcon icon when opened = null, the closure of the icon = null public Block () (addActionListener (this)) public ImageIcon icon at the time of access to open () (return icon when opened) public ImageIcon access to the closure of the icon () (return shutdown icon) public void opened when the icon settings (ImageIcon icon) (look at the icon = icon) public void shutdown icon settings (ImageIcon icon) (shutdown icon = icon) public void settings icon (ImageIcon icon) (setIcon (icon)) public void actionPerformed ( ActionEvent e) (this.setIcon (open at the time of the icon)))
To Search:
File list (Check if you may need any files):
《Java课程设计》介绍及代码
..........................\intro.doc
..........................\代码
..........................\....\chap1
..........................\....\.....\Block.java
..........................\....\.....\Memory.java
..........................\....\.....\MemoryTestPane.java
..........................\....\.....\People.java
..........................\....\.....\RandomSetIcon.java
..........................\....\.....\Record.java
..........................\....\.....\ShowRecord.java
..........................\....\chap1.zip
..........................\....\chap10.zip
..........................\....\chap11.zip
..........................\....\chap12.zip
..........................\....\chap13.zip
..........................\....\chap14.zip
..........................\....\chap15.zip
..........................\....\chap2.zip
..........................\....\chap3.zip
..........................\....\chap4.zip
..........................\....\chap5.zip
..........................\....\chap6.zip
..........................\....\chap7.zip
..........................\....\chap8.zip
..........................\....\chap9.zip