I am using the netbeans gui builder.
I dragged a filechooser onto my frame, and it does almost everything I want it to do.
How do I remove the buttons? I dont need them - the user just has to select a file, or type in a file name, the buttons are unused.
Also, if a user types in a file name in the "File name" Text field, how do I get that file name?
I tried "fileChooser.getSelectedFile()" but that only returns a value if the user has actually highlighted an existing file. The idea is to get the file name the the user entered and create a new file with that name.
Anyone have an idea?