JDK-4925214 : PIT:One Touch Expandable option should be disabled in SwingSet2 with GTK L&F
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2003-09-19
  • Updated: 2003-09-19
  • Resolved: 2003-09-19
Related Reports
Relates :  
Description
As per the fix for bug#4911502, in GTK L&F the SplitPane should not have one-touch button. So if this is the case then the One-Touch expandable Checkbox option in splitpane demo should be disabled. 

Steps to reproduce:
--------------------
1) Run SwingSet2 in the PIT build of 13th Sept. 
2) Set the L&F to GTK
3) Go to JSplitPane Demo
Notice that the One_Touch expandable checkbox is enabled. And when u click on it does nothing. So its better to disable it in GTK L&F.

Comments
EVALUATION The doc for setOneTouchExpandable says: * Some look and feels might not support one-touch expanding; * they will ignore this property. There is currently no way for an app to know whether or not a look and feel supports one touch expandable, and therefor no way to disable this based on the look and feel. We could certainly hard code SwingSet for this, but that doesn't feel right, as such I'm closing this out as will not fix. ###@###.### 2003-09-19
19-09-2003