Location:
Search - FileChooser
Search list
Description: 图形化显示文件选择框-graphical display of file selection box
Platform: |
Size: 10770 |
Author: 刘成 |
Hits:
Description: 文件浏览框,可以过滤文件类型,也可以预览图片,好东西呀,和xp的缩略图样的
Platform: |
Size: 5526 |
Author: cy |
Hits:
Description: 一个文本选择的源码 实现的文本的基本功能
Platform: |
Size: 1305 |
Author: maxujie |
Hits:
Description: 图形化显示文件选择框-graphical display of file selection box
Platform: |
Size: 10240 |
Author: 刘成 |
Hits:
Description: 文件浏览框,可以过滤文件类型,也可以预览图片,好东西呀,和xp的缩略图样的-File browser box, you can filter the file type, you can preview pictures, good thing you, and kind of thumbnails xp
Platform: |
Size: 5120 |
Author: cy |
Hits:
Description: 文件选择器和文件过滤器以图形界面实现对文本文件读取-File selection and graphical interface implementation
Platform: |
Size: 2048 |
Author: lee |
Hits:
Description: javax.swing | 最常用的pachage,包含了各种swing组件的类
javax.swing.border | 包含与swing组件外框有关的类
javax..swing.colorchooser | 针对swing调色盘组件(JColorChooser)所设计的类
javax.swing.event | 处理由swing组件产生的事件,有别于AWT事件
javax.swing.filechooser | 包含针对swing文件选择对话框(JFileChooser)所设计的类 -javax.swing | The most commonly used pachage, contains a variety of swing types of components javax.swing.border | contains the swing-type frame components javax .. swing.colorchooser | color palette for the swing components (JColorChooser ) category designed javax.swing.event | deal with swing components generated by the case is different from the AWT Event javax.swing.filechooser | contains documents for the swing dialog box select (JFileChooser) designed by category
Platform: |
Size: 146432 |
Author: 穆鹏 |
Hits:
Description: 用于根据uri读取本机资源的例子
供大家学习用
应用在j2me-For uri read in accordance with examples of local resources for your learning with applications in j2me
Platform: |
Size: 4096 |
Author: allen |
Hits:
Description: This Work graded 100
class SaveSalesListener implements ActionListener {
/**
* Saves the sales informations in a file.
*
* @param event the event object.
*/
public void actionPerformed(ActionEvent event) {
if (sales.getNumberOfOrders() == 0) {
statusTextArea.setText("No order has been sold.")
}
else {
fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY)
int result = fileChooser.showSaveDialog(null)
if (result != JFileChooser.APPROVE_OPTION) {
statusTextArea.setText("The sales information has " +
"not been saved.")
}
else {
File file = fileChooser.getSelectedFile()
try {
PrintWriter output = new PrintWriter(
new FileWriter(file))
output.print(salesFormatter.formatSales(sales))
output.close()
}
catch (IOException ioe) {
statusTextArea.setText("Error: Problem with I/O.") -This Work graded 100
class SaveSalesListener implements ActionListener {
/**
* Saves the sales informations in a file.
*
* @param event the event object.
*/
public void actionPerformed(ActionEvent event) {
if (sales.getNumberOfOrders() == 0) {
statusTextArea.setText("No order has been sold.")
}
else {
fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY)
int result = fileChooser.showSaveDialog(null)
if (result != JFileChooser.APPROVE_OPTION) {
statusTextArea.setText("The sales information has " +
"not been saved.")
}
else {
File file = fileChooser.getSelectedFile()
try {
PrintWriter output = new PrintWriter(
new FileWriter(file))
output.print(salesFormatter.formatSales(sales))
output.close()
}
catch (IOException ioe) {
statusTextArea.setText("Error: Problem with I/O.")
Platform: |
Size: 4096 |
Author: EA |
Hits:
Description: 在应用程序中通常都会涉及文件的打开和保存等操作。在Java类库中javax.swing.JFileChooser类提供了方便的文件操作方法,不但支持打开、保存文件对话框,还支持文件和目录选择,以及单选和多选文件。
本例中演示了如何显示打开和保存两种对话框,如何用文件选择器来打开特殊的文件。-The application usually involves a file open and save operations. Javax.swing.JFileChooser class in the Java class libraries provides a convenient file operation, not only supports the Open, File Save dialog box also supports file and directory selection, as well as radio and multi-selected files.
In this case demonstrated how to open and save the two dialog box, how to use the file selector to open a special file.
Platform: |
Size: 15360 |
Author: 少壮 |
Hits:
Description: FileChooser使用详解,内容非常全面,细致-FileChooser explain the use of the content is very comprehensive and detailed
Platform: |
Size: 7168 |
Author: 丁爱楠 |
Hits:
Description: File Chooser Client for linux API Driver.
Platform: |
Size: 1024 |
Author: qinglinjue |
Hits:
Description: ip压缩包查看程序
public class ZipDemo3 extends JFrame{
JFileChooser fileChooser //文件选择器
JTextField jtfTarget //待查看文件路径
JButton jbSelected //选择文件按钮
JTextArea jtaInfo //信息显示文本框-IP压缩包查看程序
公共类ZipDemo3扩展的JFrame{
文件选择器fileChooser //文件选择器
JTextField的jtfTarget //待查看文件路径
JButton的jbSelected //选择文件按钮
JTextArea的jtaInfo //信息显示文本框
Platform: |
Size: 10240 |
Author: 芦苇 |
Hits:
Description: 安卓文件选择器,2016年4月20 黄英文开发-Android file selector 2016 April 20 Huangying Wen Development
Platform: |
Size: 611328 |
Author: 黄英文 |
Hits: