X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fdemos%2FDemo1.java;h=97088d215fcb7c228f6a065c1cb86cfec188f9b4;hb=HEAD;hp=522baa14b232134be70c43eb794c9eb6083b1221;hpb=e16dda65585466c8987bd1efd718431450a96605;p=fanfix.git diff --git a/src/jexer/demos/Demo1.java b/src/jexer/demos/Demo1.java index 522baa1..97088d2 100644 --- a/src/jexer/demos/Demo1.java +++ b/src/jexer/demos/Demo1.java @@ -3,7 +3,7 @@ * * The MIT License (MIT) * - * Copyright (C) 2016 Kevin Lamonte + * Copyright (C) 2019 Kevin Lamonte * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -35,6 +35,7 @@ import jexer.TApplication; * capabilities. */ public class Demo1 { + /** * Main entry point. * @@ -48,6 +49,9 @@ public class Demo1 { if (System.getProperty("os.name").startsWith("Windows")) { backendType = TApplication.BackendType.SWING; } + if (System.getProperty("os.name").startsWith("Mac")) { + backendType = TApplication.BackendType.SWING; + } if (System.getProperty("jexer.Swing") != null) { if (System.getProperty("jexer.Swing", "false").equals("true")) { backendType = TApplication.BackendType.SWING;