single-click

How do I setup up JFileChooser for single click behavior in java Swing?

Hello How do I change the JFileChooser behavior from double-click selection to single-click selection mode? I'm developing an application to run with either a single-click interface (nothing requires a double-click, just like the KDE interface mode) or a double-click interface (the default Windows interface mode or the regular GNOME in...

Simulating a click for NSCollectionView

In an attempt to create drag and drop between two NSCollectionViews in the same app i've made the view that holds the collection views responsible for all the mouse clicks. It then checks what the mouse actually hits, etc. One problem I'm having though, is trying to get the NSCollectionView to handle single clicks properly (i.e. if the s...