文件名称:31221527719
介绍说明--下载内容均来自于网络,请自行研究使用
mport javax.swing.*
import java.awt.event.*
public class Block extends JButton implements ActionListener
{
ImageIcon 翻开时的图标=null,关闭时的图标=null
public Block()
{
addActionListener(this)
}
public ImageIcon 获取翻开时的图标()
{
return 翻开时的图标
}
public ImageIcon 获取关闭时的图标()
{
return 关闭时的图标
}
public void 设置翻开时的图标(ImageIcon icon)
{
翻开时的图标=icon
}
public void 设置关闭时的图标(ImageIcon icon)
{
关闭时的图标=icon
}
public void 设置图标(ImageIcon icon)
{
setIcon(icon)
}
public void actionPerformed(ActionEvent e)
{
this.setIcon(翻开时的图标)
}
}-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)))
import java.awt.event.*
public class Block extends JButton implements ActionListener
{
ImageIcon 翻开时的图标=null,关闭时的图标=null
public Block()
{
addActionListener(this)
}
public ImageIcon 获取翻开时的图标()
{
return 翻开时的图标
}
public ImageIcon 获取关闭时的图标()
{
return 关闭时的图标
}
public void 设置翻开时的图标(ImageIcon icon)
{
翻开时的图标=icon
}
public void 设置关闭时的图标(ImageIcon icon)
{
关闭时的图标=icon
}
public void 设置图标(ImageIcon icon)
{
setIcon(icon)
}
public void actionPerformed(ActionEvent e)
{
this.setIcon(翻开时的图标)
}
}-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)))
(系统自动生成,下载前可以参看下载内容)
下载文件列表
《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
..........................\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