Package com.formdev.flatlaf.ui
Class JavaCompatibility2
java.lang.Object
com.formdev.flatlaf.ui.JavaCompatibility2
Provides Java version compatibility methods.
WARNING: This is private API and may change.
- Since:
- 3.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic File[]
Java 8: sun.awt.shell.ShellFolder.get( "fileChooserComboBoxFolders" )
Java 9: javax.swing.filechooser.FileSystemView.getChooserComboBoxFiles()static File[]
Java 8 - 11 on Windows: sun.awt.shell.ShellFolder.get( "fileChooserShortcutPanelFolders" )
Java 12: javax.swing.filechooser.FileSystemView.getChooserShortcutPanelFiles()static ComponentUI
getUI
(JComponent c) Java 8: getUI() method on various components (e.g.
-
Field Details
-
getUIMethodInitialized
private static boolean getUIMethodInitialized -
getUIMethod
-
-
Constructor Details
-
JavaCompatibility2
public JavaCompatibility2()
-
-
Method Details
-
getUI
Java 8: getUI() method on various components (e.g. JButton, JList, etc)
Java 9: javax.swing.JComponent.getUI() -
getChooserShortcutPanelFiles
Java 8 - 11 on Windows: sun.awt.shell.ShellFolder.get( "fileChooserShortcutPanelFolders" )
Java 12: javax.swing.filechooser.FileSystemView.getChooserShortcutPanelFiles()- Since:
- 3.4
-
getChooserComboBoxFiles
Java 8: sun.awt.shell.ShellFolder.get( "fileChooserComboBoxFolders" )
Java 9: javax.swing.filechooser.FileSystemView.getChooserComboBoxFiles()- Since:
- 3.4
-