How to open files in Java Swing without JFileChooser
Posted
by
ron
on Stack Overflow
See other posts from Stack Overflow
or by ron
Published on 2012-06-05T15:59:33Z
Indexed on
2012/06/05
16:40 UTC
Read the original article
Hit count: 308
I'm using Java Swing (GUI) and I want to add a button to my project for opening files .
I don't like the JFileChooser since it opens a small window for browsing through the files
of the directories . Can I use something else , instead of the JFileChooser under Java Swing ?
I've tried to use elements of SWT but it didn't work , meaning is the use of the button object and then use it inside the Jframe , but that failed , so I guess SWT and Swing don't mix together?
Here is the example of Java Swing with JFileChooser and I'm looking for something like this to put in my JFrame.

© Stack Overflow or respective owner