X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fdemos%2FDemo1.java;h=4715d79e4b04b3a49e158e201288ad948b63d610;hb=a2018e9964f6c58742cd1e6dd0a0c63e244a89d6;hp=522baa14b232134be70c43eb794c9eb6083b1221;hpb=e16dda65585466c8987bd1efd718431450a96605;p=nikiroo-utils.git diff --git a/src/jexer/demos/Demo1.java b/src/jexer/demos/Demo1.java index 522baa1..4715d79 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) 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;