From db893700dd64f54e392bc2577ba89c28e71d9d74 Mon Sep 17 00:00:00 2001 From: Curtis Rueden Date: Sun, 20 Oct 2024 14:25:43 -0500 Subject: [PATCH] Disable hardcoded LAF assignment in Dialogs.main It's there a reminder that you can use this method to test different Look & Feels with the app-launcher dialog boxes. --- src/main/java/org/scijava/launcher/Dialogs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/scijava/launcher/Dialogs.java b/src/main/java/org/scijava/launcher/Dialogs.java index 650c556..ed9be6c 100644 --- a/src/main/java/org/scijava/launcher/Dialogs.java +++ b/src/main/java/org/scijava/launcher/Dialogs.java @@ -76,7 +76,7 @@ public static Result ask(Component parent, } public static void main(String[] args) { - System.setProperty("scijava.app.look-and-feel", "com.formdev.flatlaf.FlatLightLaf"); + //System.setProperty("scijava.app.look-and-feel", "com.formdev.flatlaf.FlatLightLaf"); Result result = Dialogs.ask(null, "Do you like green eggs and ham?", "Yes",