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]
# 1
for number 1: read the api http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#getSelectedFiles()
petes1234a at 2007-7-12 20:38:18 > top of Java-index,Desktop,Core GUI APIs...
# 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.

Nick_B100a at 2007-7-12 20:38:18 > top of Java-index,Desktop,Core GUI APIs...
# 3
> Is that what you mean? Mouse highlighting doesnt work> automatically.? what do you mean by this? If you hold the control key down (on windows systems) you can highlight mult files.... unless you mean something else.
petes1234a at 2007-7-12 20:38:18 > top of Java-index,Desktop,Core GUI APIs...
# 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.
Nick_B100a at 2007-7-12 20:38:18 > top of Java-index,Desktop,Core GUI APIs...
# 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.
petes1234a at 2007-7-12 20:38:18 > top of Java-index,Desktop,Core GUI APIs...