X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fdemos%2FDemo6.java;h=236e7a276733410d95d80224be04ccb792adc889;hb=e23ea53820244957b17a7000c6d3e1ff586f1ef0;hp=c0ec4273866ced782ec961a9ac345be32071cf5d;hpb=3e0743556d1f31723a11a6019b5c2b018b4b2104;p=nikiroo-utils.git diff --git a/src/jexer/demos/Demo6.java b/src/jexer/demos/Demo6.java index c0ec427..236e7a2 100644 --- a/src/jexer/demos/Demo6.java +++ b/src/jexer/demos/Demo6.java @@ -3,7 +3,7 @@ * * The MIT License (MIT) * - * Copyright (C) 2017 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"), @@ -30,6 +30,7 @@ package jexer.demos; import jexer.TApplication; import jexer.backend.*; +import jexer.demos.DemoApplication; /** * This class shows off the use of MultiBackend and MultiScreen. @@ -84,6 +85,7 @@ public class Demo6 { * one demo application spanning two physical screens. */ multiBackend.addBackend(swingBackend); + multiBackend.setListener(demoApp); /* * Time for the second application. This one will have a single