⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chaotimebook.java

📁 简单的书店管理系统,是课设期间教师指导完成的,希望会对大家有帮助!
💻 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 + -