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

📄 sort.java

📁 用eclipse编写的图书管理系统
💻 JAVA
字号:
package client;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.WindowConstants;
import com.swtdesigner.SwingResourceManager;
import javax.swing.ImageIcon;

public class Sort extends JFrame {

	/**
	 * Launch the application
	 * @param args
	 */
	ImageIcon img=new ImageIcon("E:\\image\\gf.jpg");
//	public static void main(String args[]) {
//		try {
//			Sort frame = new Sort();
//			frame.setVisible(true);
//		} catch (Exception e) {
//			e.printStackTrace();
//		}
//	}

	/**
	 * Create the frame
	 */
	public Sort() {
		super();
		setIconImage(SwingResourceManager.getImage(Sort.class, "/LOGO.jpg"));
		getContentPane().setLayout(null);
		setBounds(170, 80, 831, 643);
		setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		setTitle("借阅排行");

		final JLabel label = new JLabel(img);
		label.setBounds(0, 0, 838, 643);
		getContentPane().add(label);
		
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -