Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package jaxx.demo;
/*-
* #%L
* JAXX :: Demo
* %%
* Copyright (C) 2008 - 2017 CodeLutin
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Container;
import java.awt.LayoutManager;
import java.awt.RenderingHints;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.swing.Box.Filler;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JComboBox;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JToolBar;
import jaxx.runtime.JAXXBinding;
import jaxx.runtime.JAXXContext;
import jaxx.runtime.JAXXObject;
import jaxx.runtime.JAXXObjectDescriptor;
import jaxx.runtime.JAXXUtil;
import jaxx.runtime.SwingUtil;
import jaxx.runtime.binding.DefaultJAXXBinding;
import jaxx.runtime.context.DefaultJAXXContext;
import jaxx.runtime.swing.FontSizor;
import jaxx.runtime.swing.help.JAXXHelpUI;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
public class DemoSources extends JPanel implements JAXXHelpUI, JAXXObject {
/*-----------------------------------------------------------------------*/
/*---------------- Constants for all javaBean properties ----------------*/
/*-----------------------------------------------------------------------*/
public static final String PROPERTY_CURRENT_SOURCE = "currentSource";
public static final String PROPERTY_INCOMING_CLASS = "incomingClass";
public static final String PROPERTY_SOURCES = "sources";
/*-----------------------------------------------------------------------*/
/*------------------ Constants for all public bindings ------------------*/
/*-----------------------------------------------------------------------*/
public static final String BINDING_EDITOR_FONT_SIZE = "editor.font-size";
public static final String BINDING_FONT_SIZOR_FONT_SIZE = "fontSizor.fontSize";
/*-----------------------------------------------------------------------*/
/*------------------------- Other static fields -------------------------*/
/*-----------------------------------------------------------------------*/
private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAKVVz2sTQRSeRpM2aavV2tpihForCOJGEBSpqP1hqCVqaYoWc3E2O22nzu5MZ2bN1oP4J/gn6N2L4M2TePDswYv4L4h48Cq+mU2zicYkkByS7L73vvm+t+97++Y7SiuJzuziKHJkGGjqE2d1YXPzvrtLqnqZqKqkQnOJ4s9ACqUqaNhr3Fcana2UTHmhXl5Y4r7gAQmaqudLKKf0PiNqhxCt0enWiqpShXIjPB+JUB6gNki1Q33180fqpffidQqhSAC7YZAy060qUXK4hFLU0+g4nPQUFxgOtoGGpME28B0195YYVuoe9skeeo4GSygjsAQwjWZ7l2wxbH0kNBqaW13DAWGXNJqwTD3ic2cZvso8lFWihLDJGY0yruRPiNRoqjVxhTCxaENJ7igNqtwH5vY0jY4a9o5R5Ng7TZnVUBoN8XEajSWZsfYkdVDFlDQ6YpNCTZlTokonKWPEoyDWSFoh2DNsT5jcyFE1wHJWNzhni1ia9GyjKhcDb2BX2TY05UMnXb7II5M51SgYmYNbc0XKGJHQucnmkiTSWpPd4qCSPuPAKd8yFHFd8SDcWpZLFGl0soVbuSo5YybSKicTl2h0gcttZ4tuESekjlT7gcaRJpGGocHOetleb8D1Alyb2jkBA3uqhRtYwUmskMzqQAWlZcjMw5iq/OuedQjFvpn6yzcG0EZ/T45/ef/tXfHALGNw9kTb1CavwxALyQU8V2qOPho7xQxC4S4W8xWUVYTBorCLIN+GWLkeBnJw3rFkjlaw2gGI9ODXDx8nH38+hFJFlGMce0Vs8u+grN6R0AXOvEjcvGUZjdSGDHHDDbrO8D4PwYtHrntY4xmXBh48phsRNCHfpgkNJm7206/x8ttbB40YAGLT/01PmpF+hDI0YDQgdm/UV0LbPTEsFAk9nli/3TIYML85UTdTwX5fbqd01OUSrLWGaaCJ2VfXYxozWINj3VATEG2qr1o15t81Cz7dA3h2C5quscss9z6AMlzgvbBflLTPPcJM+Ep7kHwPIEN165MOOLNdccztlQ5yuiPA4oIBrhWb2PSBNVblLPSDeM8+oKTWQd25HvDGMUz7AqNYgW1uB2YEvA4Uz/cAORhTVH3CDJmF2mUke8Gxr4CLqvMg9ETI2O2hxKJPQsPwiqZ+6HeZzV6gRmtAx74pHsJ26MLrD8/3qqfnCQAA";
private static final Log log = LogFactory.getLog(DemoSources.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List