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