Customising a JFileChooser
I was wondering two quick things about using JFileChooser
1. Is it possible to select multiple files by mouse highlight?
2. Is it possible to stop the file view from centering on the file clicked on? Ie. if the user double clicks a leftmost directory, my code recenters the view on the first click :-s
Thanks
Nick
[344 byte] By [
Nick_B100a] at [2007-11-27 8:40:02]

# 2
Yeah, I know about that. Multi-Select is an option in my UI which is set by a checkbox:
private void jCheckBox1ItemStateChanged(java.awt.event.ItemEvent evt) {
enable = evt.getStateChange()!=2;
jFileChooser1.setMultiSelectionEnabled(enable);
}
Is that what you mean? Mouse highlighting doesnt work automatically.
# 4
Yeah, it is still possible to SHIFT/CTRL+Click to select items.What I want to do, is to allow the user to drag a marquee over the items to be selected, sorry, I could have been clearer about that.
# 5
> What I want to do, is to allow the user to drag a> marquee over the items to be selected, sorry, I could> have been clearer about that.hm, I'll have to beg greater minds to help on this one.