Java File Browser

I need a java filesystem browser without all buttons and fields. Does the swing have any components that can do this? If there are no third party components that can help me?

JFileChooser

enter image description here

What i'm looking for

enter image description here

In retrospect, the question is vague. The JList style for the component is not exactly what I'm looking for. I just need a file browser that fires an event when the user selects something. Whether it is a JList style browser or a tree style browser is secondary. I see there are ways I can code this myself, the reason for asking the question here is to see if there are components that do this already.

+3


source to share


1 answer


Quite a lot yes, you can get a horizontal file list. You will have to use horizontal translation to orient the layout JList

. More information on the same can be found here .



JFileChooser

will not allow you to hide the rest of the controls, as this will lead to the loss of basic functionality. You will need to use your own custom control using the link above and do the file operations.

+2


source







All Articles