📄 chaotimebook.java
字号:
package book;
import java.sql.SQLException;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
public class ChaoTimeBook extends Mb{
private JLabel icon;
private Table table;
private JScrollPane scrool;
ChaoTimeBook(String s, int i, int j) throws SQLException {
super(s, i, j);
con.setLayout(null);
shezhi();
add();
}
void shezhi() throws SQLException{
icon=new JLabel(new ImageIcon("./data/image/heard/chaoqitushu.jpg"));
icon.setBounds(0,5,600,50);
MainDAO dao=new MainDAO();
dao.getCtimeBook();//刷新所有超期图书
table=new Table();
scrool = new JScrollPane(table);
scrool.setBounds(15, 60, 563, 300);
table.setWidth();
table.Renovate("select * from jiechutushu where 是否超期='是'");
}
void add(){
con.add(icon);
con.add(scrool);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -