We use cookies to collect and analyze information on site performance and usage, to provide social media features and to enhance and customize content and advertisements.
Got it
myJTree.getSelectionModel(). setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
[JDK1.2] KeyStroke ks = KeyStroke.getKeyStroke("ctrl A"); tree.unregisterKeyboardAction(ks); [JDK1.3+] KeyStroke ks = KeyStroke.getKeyStroke("ctrl A"); tree.getInputMap().put(ks, "none");