Skip to main content

JFileChooser horizontal scrollbar problem

No replies
nenadm
Offline
Joined: 2008-11-11
Points: 0

Hi,
I use JFileChooser to make possible to user to navigate among great number of files and folders. However it is desirable that file chooser always stay positioned on the position of last selected file.
But for some reason horizontal scroll bar don't stay at last position but always stay centered. Moreover it have desirable behaviour only if user dont scroll horizontaly at all (remember position), but if user scroll to the end, close and again open file chooser, it dont remember last position.
I am interested is it possible in some way to work upon on position of JFileChooser scroll bar or handle this situation.
Thanks alot.