mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
UIDefaultsDump: fixed property sort order and updated dumps
GTKLookAndFeel dump updated on Ubuntu 24.10
This commit is contained in:
@@ -167,6 +167,8 @@ public class UIDefaultsDump
|
||||
}
|
||||
|
||||
private static void dump( String lookAndFeelClassName, File dir, boolean jide ) {
|
||||
System.out.println( "---- "+lookAndFeelClassName+" -------------------------------" );
|
||||
|
||||
try {
|
||||
UIManager.setLookAndFeel( lookAndFeelClassName );
|
||||
if( jide )
|
||||
@@ -415,8 +417,8 @@ public class UIDefaultsDump
|
||||
dumpHeader( out );
|
||||
|
||||
defaults.entrySet().stream()
|
||||
.sorted( (key1, key2) -> {
|
||||
return String.valueOf( key1 ).compareTo( String.valueOf( key2 ) );
|
||||
.sorted( (e1, e2) -> {
|
||||
return String.valueOf( e1.getKey() ).compareTo( String.valueOf( e2.getKey() ) );
|
||||
} )
|
||||
.forEach( entry -> {
|
||||
Object key = entry.getKey();
|
||||
|
||||
Reference in New Issue
Block a user