@@ -0,0 +1,1454 @@
+/*%0A * Copyright (c) 2015 Denys Lebediev and contributors. All rights reserved.%0A * The use and distribution terms for this software are covered by the%0A * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)%0A * which can be found in the file LICENSE at the root of this distribution.%0A * By using this software in any fashion, you are agreeing to be bound by%0A * the terms of this license.%0A * You must not remove this notice, or any other, from this software.%0A */%0A%0Apackage flatgui.samples;%0A%0Aimport flatgui.core.FGTemplate;%0Aimport flatgui.core.IFGTemplate;%0Aimport flatgui.core.websocket.FGAppServer;%0A%0Aimport java.io.File;%0Aimport java.io.InputStream;%0Aimport java.net.URL;%0Aimport java.util.Scanner;%0A%0A/**%0A * @author Denis Lebedev%0A */%0Apublic class FGCompoundDemoServer%0A%7B%0A    public static final String CONTAINER_NS = %22compound%22;%0A    public static final String CONTAINER_VAR_NAME = %22compoundpanel%22;%0A    private static final int PORT = 13100;%0A%0A%0A    public static void main(String%5B%5D args) throws Exception%0A    %7B%0A        InputStream is = FGCompoundDemoServer.class.getClassLoader().getResourceAsStream(%22flatgui/samples/forms/compound.clj%22);%0A        String sourceCode = new Scanner(is).useDelimiter(%22%5C%5CZ%22).next();%0A%0A        IFGTemplate bookPanelTemplate = new FGTemplate(sourceCode, CONTAINER_NS, CONTAINER_VAR_NAME);%0A%0A        FGAppServer server = new FGAppServer(bookPanelTemplate, PORT);%0A        server.start();%0A        server.join();%0A    %7D%0A%7D%0A%0A

Prepare user-friendly samples #15 - compound sample