Update copyright to 2017
[nikiroo-utils.git] / src / jexer / demos / Demo1.java
index 522baa14b232134be70c43eb794c9eb6083b1221..4715d79e4b04b3a49e158e201288ad948b63d610 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2016 Kevin Lamonte
+ * Copyright (C) 2017 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -48,6 +48,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;