JDK-8213168 : Enable different look and feel tests in SwingSet3 demo test FileChooserDemoTest
  • Type: Task
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-10-31
  • Updated: 2020-10-29
  • Resolved: 2018-11-20
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.
JDK 11 JDK 12
11.0.7-oracleFixed 12 b23Fixed
Description
There are multiple issues in different L&Fs.  
GTK and Motif L&F:  
1) There are two JLists according JDK implementation, one is to list folders and second one one is to list files, but current jemmy JFileChooserOperator implementation didn't consider this, it expects only one JList that is to list files. 
2) Open button text is "OK", not "OPEN"

Aqua, GTK and Motif L&F:  
1) GO Home, Up Level button, List and Details view functionalities are not available.

Windows & Windows Classic L&F: 
1) There is no 'Go Home' button, but there is a toggle button to go desktop. In Windows platform 'Go Home' button usually(In metal and nimbus L&F) navigates to Desktop only.
2) List and Details views are implemented as a popup menu item in JDK, not toggle buttons.
Comments
Fix request (11u) I would like to downport this for parity with 11.0.7-oracle. Applies clean.
03-01-2020