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