Questions tagged [filechooser]

A GUI component that allows to navigate over the file system, selecting files and folders of interest.

Usually file chooser is similar to the file explorer. It allows to navigate over the file system, selecting files and folders of interest or to specify yet non-existing files in the existing folder ("Save as").

File chooser can often be configured to show only set of selected file types, allow or disallow multiple selection and allow or disallow selection of folders rather than files.

This component is present in libraries of many languages.

472 questions
0
votes
1 answer

Set bounds property for "choose from list" in AppleScript?

I'm making an applet that prompts users to choose from a list, and my list currently has 169 items. When the list is generated, the window extends from the top of the display to the bottom, a bit overwhelming for a user. I'm wondering if anyone…
thankyour
  • 207
  • 1
  • 8
0
votes
1 answer

Default application to choose file

I'm using the following code to load an audio file: @Override public void onClick(View v) { Intent chooseFile; Intent intent; chooseFile = new Intent(Intent.ACTION_GET_CONTENT); …
Chris Rohit Brendan
  • 893
  • 1
  • 9
  • 20
0
votes
1 answer

android - nullpointerexception when back from filechooser

java.lang.RuntimeException: Unable to resume activity {com.myactivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { dat=content://media/external/video/media/20101 typ=video/mp4 (has…
user1865027
  • 3,505
  • 6
  • 33
  • 71
0
votes
3 answers

ANDROID- SELECT A FILE FROM FILE EXPLORER

I am new to android development. I need to implement a file chooser/ Open-File-Dialog in my project. But I have found that android do not provide any built in support for this. So what is good solution on this? Should I use any Library or Manually…
AnujDeo
  • 333
  • 1
  • 4
  • 13
0
votes
2 answers

How do I use Google doc picker with html service

I am working on a Google apps script that uses html service. I want to provide the user with a file chooser so they can choose a file from their Google drive. I have seen two different API's that seem to do this, Google Picker and Google…
0
votes
1 answer

Bundling .dll inside of .jar

I'm using XFileDialog (https://code.google.com/p/xfiledialog/) instead of JFileChooser, but I want to bundle the dll's inside the .jar so I don't have to ship them with the application. So I added them to the project, but I'm not sure how to…
Omid
  • 823
  • 1
  • 11
  • 31
0
votes
1 answer

Java swing file chooser date filter or file dialog date filter

give sample code for getting files of current date or req date in file chooser or file dialog? i need to filter files with date in file dialog?
karthik
  • 23
  • 1
  • 4
0
votes
1 answer

How to receive the folder from FileChooserButton [PyGTK]

I'm trying to use FileChooserButton to get the path to folder selected by the user. I've read the documentation on FCB and I think I should use get_current_folder() but when I do that i get a global name error. As far as I know, get_current_folder()…
boywithaxe
  • 286
  • 1
  • 12
0
votes
1 answer

FileChooser method showSaveDialog( ) does not save file javafx?

How does the showSaveDialog( ) method work? I know it returns the selected file but why does it not save the file? Below is an extract of code I found online. buttonSave.setOnAction(new EventHandler() { @Override public…
user2033259
  • 29
  • 2
  • 9
0
votes
2 answers

jsp read filename from servlet impossible?

I've got a really simple problem. I'm not able to read the file name from the (jsp) file-chooser in servlet. Normally I can get any input data with request.getParameter("name"); Can anybody tell me the shortest way please? this is my code:
user1844505
  • 1,259
  • 2
  • 10
  • 14
0
votes
2 answers

Java: how to locate the value that points to our directory files

In the code given below, taken from the JAVA API page for class JFileChooser: JFileChooser chooser = new JFileChooser(); FileNameExtensionFilter filter = new FileNameExtensionFilter( "JPG & GIF Images", "jpg",…
user1802890
  • 33
  • 1
  • 4
-1
votes
2 answers

Write JavaFX Blob data field image

In my class, the attribute where the image will be saved is defined like this: @Lob @Column(name = "NOTA_FISCAL", nullable = false, columnDefinition = "mediumblob") public byte[] getNOTA_FISCAL() { return NOTA_FISCAL; } …
Homer
  • 17
  • 3
-1
votes
1 answer

How to save a file uploaded by FileChooser to a directory in your project?

so as the title of the post states I'm asking for a way that I can say a file I uploaded using FileChooser to a directory in my project. More specifically, I'm uploading images and I want to save them in my project so I can use them in the future.…
Mohamad S.
  • 199
  • 1
  • 9
-1
votes
1 answer

Open with dialog appears after choosing a file on Android 10

After upgrading my phone(Redmi 7a pie) to android 10 sometimes open with dialog appears when choosing a file with file chooser Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); if…
nimday
  • 333
  • 3
  • 9
-1
votes
1 answer

How to get the path of Shortcut file i.e., lnk file when we read from FileChooser java

How to get the path of Shortcut i.e., lnk file when we read from FileChooser java We have a environment that, actual files are stored in the server and shortcut files are given to users. User choose the shortcut file from the application, but when…