1. WinForms equivalent of Java's JFileChooser.FILES_AND_DIRECTORIES stackoverflow.comJava has |
2. Pressing save button in JFileChooser opens a folder instead of saving a file stackoverflow.comI'm having the following problem with a JFileChooser: I create a save dialog and then when I'm trying to save a file, I'm entering a file name into the field and ... |
3. Folder selection in Ant stackoverflow.comAs part of a build I am copying files to a user specified folder.. Right now I am doing it like this:
|
4. How to |
5. Browse for folder dialog stackoverflow.comI need to know how to get the "browse for folder" dialog in java. I am aware of SWT. but i need to do in swings? is there any solution to ... |
6. Disabling New Folder Button in File chooser not working properly stackoverflow.comI disable the new Folder button using the following code:
|
7. How to do JFilechooser to allow the user only to select from one folder only? stackoverflow.comPossible Duplicate: How do I restrict JFileChooser to a directory?
|
8. GUI component for folder choosing with select option stackoverflow.comI need to create a component as shown in the figure - a tree with directory selection via checkbox. Is there is a built in component for this (like others ... |
9. How to display computer files and folders in java swing GUI stackoverflow.comPossible Duplicate:I am developing an application in java swings.I have used jfilechooser to open up the files and directories ... |
10. JFileChooser interpreting zip file as a folder coderanch.comI have an app that reads and writes data to zip files. When opening one, I use a JFileChooser with a file filter for zips and directories. This works fine except except on XP. If the zip file is on a remote (Novell) file server, the JFileChooser treats the zip file as a directory. You can't open the zip file itself. ... |
11. How to set the filter for a Save File Dialog for Folders? coderanch.com |
12. could i stop folder creator in JFileChooser? coderanch.com |
13. Problem with JFileChooser Create New Folder when Program Files folder is selected. coderanch.comHi, I have the opposite case. I have the opendialog, the "create new folder" is always enabled. I want to disable this button. I think if it is default, it is enable. What you did to disable it? I need it. I did not find the property related with this button. Anyone knows? Let me know how you disable the "create ... |
14. In JFileChooser , new folder can't be renamed coderanch.com |
15. Disabling and Enabling Up One level button and new folder button in JFileChooser on some condition coderanch.comHi All, I have some problem regarding enabling and disabling icons in JFileChooser Problem 1: I have created a file chooser as follows JFileChooser fileChooser = new JFileChooser( "Test" ); I need to disable up Folder Icon for this directory as it is the top directory. But when i create a new folder in the directory and tries to save files ... |
16. Restricting the folder name character length in JFileChooser coderanch.comHi All, I have faced a problem while restricting the folder name length in fileChooser. Once the folder name exceeds the specified character length , am not able to revert it back to the old value of folder name. here is my code. Since the file chooser selection mode is FILES ONLY am not able to get the old value name ... |
17. Can the JFileChooser's starting directory be set to the project folder? forums.oracle.comThanks for the explanations. The reason why I have this expectation is that I have used Visual Studio when developing say an XNA or openGL program. When I want to get an image from my project directory, I can just use a path relative to my project folder. I am guessing that this does not translate over to open-source + open-platform ... |
18. how to get a JFileChooser to remember a previous folder forums.oracle.comjButton2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { int returnVal = fc.showOpenDialog(jButton2); if (theOutString != null){ fc.setCurrentDirectory(new File(theOutString)); } if(returnVal == JFileChooser.APPROVE_OPTION) { //theOutString = fc.getSelectedFile().getName(); theOutString = fc.getSelectedFile().getPath(); System.out.println("You chose to open this file: " + theOutString); jTextField1.setText(theOutString); } } private String theOutString; private final JFileChooser fc = new JFileChooser(); Edited by: Mr_Tuition on Dec 5, 2007 3:09 AM |