Skip to content

Commit

Permalink
Disable hardcoded LAF assignment in Dialogs.main
Browse files Browse the repository at this point in the history
It's there a reminder that you can use this method to test
different Look & Feels with the app-launcher dialog boxes.
  • Loading branch information
ctrueden committed Oct 20, 2024
1 parent b994ac0 commit db89370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/scijava/launcher/Dialogs.java
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit db89370

Please sign in to comment.