mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Demo: missing SwingUtilities.invokeLater() added
This commit is contained in:
@@ -31,9 +31,11 @@ public class FlatSwingXTest
|
||||
extends JPanel
|
||||
{
|
||||
public static void main( String[] args ) {
|
||||
FlatTestFrame frame = FlatTestFrame.create( args, "FlatSwingXTest" );
|
||||
frame.useApplyComponentOrientation = true;
|
||||
frame.showFrame( new FlatSwingXTest() );
|
||||
SwingUtilities.invokeLater( () -> {
|
||||
FlatTestFrame frame = FlatTestFrame.create( args, "FlatSwingXTest" );
|
||||
frame.useApplyComponentOrientation = true;
|
||||
frame.showFrame( new FlatSwingXTest() );
|
||||
} );
|
||||
}
|
||||
|
||||
FlatSwingXTest() {
|
||||
|
||||
Reference in New Issue
Block a user