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

📄 cutfilegui.java

📁 这是一个网友编写的文件分割程序
💻 JAVA
字号:
import javax.swing.*;
import java.awt.*;

public class CutFileGUI
{
	JFrame MainWindow = null;
	Toolkit theKit = null;
	Dimension wndSize = null;
	Container content = null;
	public CutFileGUI()
	{
		MainWindow=new JFrame("CofeCut 1.0");
		thekit = MainWindow.getToolkit();
		Dimension wndSize = theKit.getScreenSize();
		MainWindow.setBounds(wndSize.getWidth()/4,
			wndSize.getHeight()/4,wndSize.getWidth()/2,wndSize.getHeight()/2);
		MainWindow.setDefaultCloseOperation(EXIT_ON_CLOSE);
		content = MainWindow.getContentPane();
		content.setLayout(new GridLayout(1,2));
		content.add(new Button("切割文件"));
		content.add(new Button("合并文件"));
		MainWindow.setVisible(true);
	}
}
		

⌨️ 快捷键说明

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