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

How to take data (item ID, item names, item price) from a file with FileChooser and list item ID in a combobox? How to match labels to selection?

I am trying to make point of sale terminal. I need to read read (item ID, item names, and item price) from a text file with FileChooser. Then the itemID should be listed in a comboBox. The comboBox selection should change labels and prices to the…
0
votes
1 answer

Problem loading image in the correct frame

This is my code from the main frame window: public class DynamicalSystem { public static void createAndShowGraphic() { //Create and set up the window. JFrame frame = new JFrame("Dynamical System: The beauty of Chaos"); …
MoglisSs
  • 89
  • 1
  • 8
0
votes
0 answers

Glade GtkFileChooserDialog is selecting both folders and files

I'm using Glade and GTK3 to build my Python 3 UI, and am using a GtkFileChooserDialog to select a file. But this dialog, even though my Action is set to Open, is allowing me to select folders as well. If I double-click on a folder, it opens it and…
Jeff H
  • 915
  • 1
  • 6
  • 11
0
votes
2 answers

I can see the image in my project's resource folder but I am still getting an invalid url error

So I have a program where users can upload an image and then save it and the product to an online store. But I am having a very weird issue where none of the file names are recognized. Basically the user uses a file chooser to upload a file locally.…
user11366206
0
votes
0 answers

open an excel file in a tableview with filechooser

I have a small problem. I want to display an excel file in the tableview. I would like to select the file with the filechooser and display it in the tableview. I tried it with the teaxtarea as an example and it worked wonderfully. I need it in the…
dornigB
  • 27
  • 6
0
votes
2 answers

Is it possible to consume the event from a JavaFX FileChooser window?

I have a JavaFX Button that triggers when the user presses enter. This causes a FileChooser to open up. Some people (like myself) may hit enter inside the FileChooser to save the file. However, this causes the save button to trigger itself again and…
JolonB
  • 415
  • 5
  • 25
0
votes
1 answer

Getting different results loading SVG files from URIs

Background The JavaFX program MyApp will import SVG images, parse the transform and shape information from the files, and display the shapes in a class that extends the JavaFX Canvas. The part that’s giving strange results is in the initial stages,…
owengall
  • 455
  • 4
  • 11
0
votes
1 answer

Copy txt files to array (word by word) with using fileChooser

Guys i got a problem about using fileChooser and using File reader same time at Java.I need a help. Copy txt files to array word by word (each word will stay diffrent array index number) with using fileChooser.
Alevalbay
  • 3
  • 1
0
votes
0 answers

Javafx filechooser without application? (Kotlin)

I tried making a JavaFX file chooser, but soon realized that I had to use an JavaFX Application to do that. I'm just wondering if there is any way to do this with just a function. If there is any other ways to select files using the Windows file…
Kris10an
  • 548
  • 3
  • 23
0
votes
1 answer

Xamarin Android Web-view File Chooser

I wrote a hybrid app and I want to use file upload HTML (file and camera) page. I use the below code and it works well. When the user clicks on FileUploader input, the native window opens (to choose between File or Camera) and everything works just…
r2b2s
  • 203
  • 1
  • 3
  • 12
0
votes
1 answer

How to pass file path from a FileChooser button to another button?

I'm trying to make a program with some filters of image by using JavaFx, so I need two button at least, one is a file chooser to open an image, and another one will be a choice box that allows to choose a filter. My problem is how could a choice…
EssExx
  • 49
  • 6
0
votes
1 answer

Build issue for ionic app

I am using FileChooser ionic plugin for Android and FilePicker plugin for IOS. If I use the same code to build android and IOS app, it's giving me the error that FilePicker plugin cant be added to Android. To build app on different platforms…
Shrutika Patil
  • 565
  • 3
  • 18
0
votes
2 answers

JavaFX wait FileChooser showSaveDialog to get selected file path

I want to get the selected file path from a FileChooser showSaveDialog() dialog in JavaFX in order to export a tableview to a file. The code is running in a Runnable so I have to run the showSaveDialog in a JavaFX main thread…
LazyTurtle
  • 131
  • 1
  • 3
  • 16
0
votes
1 answer

javaFX: showSaveDialog() not saving file with correct extension

I have created small java Program using javafx. in which i'm trying to save any text file or java file. it save file on expected location but without extension this might be the silly question but i don't have any experience with javaFX,…
0
votes
2 answers

How do I make FileChooser update it's path or selection [Kivy]?

I'm very new to Kivy and through a lot of trial and error have gotten a pretty decent working app. What I can't for the life of me figure out is how to get the FileChooser to update its path based on what I've selected (directory or otherwise).…