filechooser.java

来自「手机模拟器源代码,可以在网页上调用applet应用来摸拟手机,在线体验手机游戏和」· Java 代码 · 共 30 行

JAVA
30
字号
package com.barteo.emulator.app.ui.awt;import java.awt.FileDialog;import java.awt.Frame;import java.io.File;/** * @author barteo * * To change this generated comment edit the template variable "typecomment": * Window>Preferences>Java>Templates. * To enable and disable the creation of type comments go to * Window>Preferences>Java>Code Generation. */public class FileChooser extends FileDialog {	public FileChooser(Frame parent, String title, int mode)	{		super(parent, title, mode);	}			public File getSelectedFile()	{		return new File(getDirectory(), getFile());	}	}

⌨️ 快捷键说明

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