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
0 answers

unresponsive UI while opening image file with the default associated program in javafx filechooser

I am trying to choose an image file by filechooser and open it with the default associated program(linux) In my javafx UI I have 2 button select image & view image. By select image button I am taking image path(needed for further calculation) and by…
Yonex
  • 87
  • 9
0
votes
0 answers

Folder chooser flask

I want to select a folder on a web flask server. I've tried referring to Python-flask-gui replacing with the current py3 syntax (below), tkinter works fine standalone but freezes trying to open a window when used with flask. I believe it could be…
gary
  • 223
  • 1
  • 2
  • 8
0
votes
0 answers

How to display an image chosen with filechooser Javafx FXML

I have gotten the program to allow me to browse for a file to select using the file chooser. You will see the method for this in my code below. My problem is that I do not know what to do next. I want to assign the file chosen as an image file. I…
Ted
  • 65
  • 1
  • 11
0
votes
2 answers

Can a GTK File Chooser Dialog be part of a window?

File chooser dialogs look like this: But is it possible to have a fullscreen window and have this take up, say, half of that window instead of being its own window?
user6683825
0
votes
2 answers

FLTK 1.3.4 Fl_Native_File_Chooser corrupting return stack on 64-bit Lubuntu

Declaring a local Fl_Native_File_Chooser object hammers the return stack upon routine exit. Have also seen the fail be delayed to the parent routine calling the routine, that is, if A() calls method B() declares the object, then B() can return…
DragonLord
  • 6,395
  • 4
  • 36
  • 38
0
votes
2 answers

ListView and FileChooser

I am having a trouble with ListView accepting content. here is the code so if someone could give me an advice: public void button1Action(){ Main main=new Main(); FileChooser fc=new FileChooser(); fc.setInitialDirectory(new…
Mapet
  • 109
  • 1
  • 8
0
votes
0 answers

A basic file picker with callback?

I'm trying to write a function which simply shows all of the music files (mp3) available in users phone (internal/external memory) and return the selected file with a callback "interface". Here is what I have but I don't have the callback! * I use…
Mac A.
  • 103
  • 8
0
votes
1 answer

Choose file using file chooser in java process builder

I have the following code Process p = new ProcessBuilder("D:\\Encryption.exe", "D:\\Cat-hd- wallpapers_remain_both2.jpg").start(); This code can run fine but instead of declaring "D:\Cat-hd- wallpapers_remain_both2.jpg" this in my code I…
Sony
  • 55
  • 1
  • 5
0
votes
2 answers

Choose File Robot Framework not uploading file

I am developing a scenario where a file is uplodaded using the choose file robot framework keyword. The test runs and when the choose file executes, it hits the locator for the element, the UI shows a red box at the bottom of…
Charles Ramsell
  • 45
  • 5
  • 16
0
votes
0 answers

Pass ReportMill pdf to filechooser

I am using ReportMill to generate a report. The following is the code which generates a pdf document. My question is: How do I pass the generated pdf document to a filechooser in Javafx ? This so that it enables the user to save it to a folder of…
0
votes
0 answers

Text format chooser in Tkinter possible?

Is is possible to use a "Text chooser" in Tkinter? I mean a dialog box like "File chooser" or "Color chooser"!
Oliver
  • 33
  • 1
  • 5
0
votes
1 answer

Android : Document and photo selector intent

In my android application i need a file picker that only pick images and document.I have implemented that but it will pick other files like videos.I only need to pick documents like pdf,excel,txt,etc.. and images and all those under a file size of…
KJEjava48
  • 1,967
  • 7
  • 40
  • 69
0
votes
0 answers

File choosing error

I have an android application that choosing image. The file uri is obtaining correctly. RequestBody requestFile=null; File file=null; String filePath=getPath(fileUri).trim(); // getting same filepath choosing via gallery or other…
Kiran Benny Joseph
  • 6,755
  • 4
  • 38
  • 57
0
votes
0 answers

Customizing JFileChooser with synth

I'm having trouble defining a custom style for JFileChooser with synth. Simply binding a synth style to type="region" key="FILE_CHOOSER" does not work (results in Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at…
nullromo
  • 2,165
  • 2
  • 18
  • 39
0
votes
2 answers

JavaFX-8 FileChooser Image (backend copy-paste)

This is only the second question I have ever posted here on Stack Overflow, so hey guys! (please be gentle). The next step in the project I'm doing involves files and the FileChooser library. Say I got the FileChooser to work, and that on a button…
ace_01S
  • 387
  • 2
  • 5
  • 16