JDK-2122137 : Cannot Ctrl-Shift-Click to create disjoint selection interval in list
  • Type: Backport
  • Backport of: JDK-4656461
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2005-01-06
  • Updated: 2011-02-16
  • Resolved: 2005-07-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
1.4.2_10 b01Fixed 6Fixed
Comments
EVALUATION For mustang and 5.0u3, JTree, JList, and JTable were changed. In backporting this to 1.4.2, JTable should be left alone for two reasons: 1) The described behavior is possible using just SHIFT-CLICK. 2) In 1.4.2, JTable uses the anchor instead of the lead for focus, much complicating the ability to fix this. Here's a pointer to the mustang webrev that can be used in backporting: http://sa.sfbay.sun.com/projects/swing_data/mustang/4656461.1/ Only the changes to BasicListUI.java and BasicTreeUI.java should be backported. The other two files relate to changes made to JTable that should be left out. ###@###.### 2005-1-06 17:34:08 GMT It turns out that one addition needs to be made for the 1.4.2 version of this fix. In 1.4.2, the UI classes for GTK don't extend, but rather copy code from, the Basic UI classes. Therefore, in order to have this fix apply to the GTK L&F, the change made to BasicListUI.java also needs to be made to SynthListUI.java. ###@###.### 2005-03-01 15:42:51 GMT Yikes! I've been off my game :) ALSO for 1.4.2, the BasicTreeUI.java needs to be made to SynthTreeUI.java for the same reason outlined in the previous comment. ###@###.### 2005-03-04 16:44:35 GMT
06-01-2005