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 - 2016 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 = "H4sIAAAAAAAAAKVWQW8bRRR+cbETO00bGhpcGqQ0DRIS6roSB4RSlSZtrRC5UNVRW2EhmPVOkimzO9OZ2XoDAvET+Alw54LUW08VB84cuCD+AkIcuCLezDpeL9naC/Fh5J333ve+9/Z9z/7+d6hqBZcekSTxVBwZFlJvZ/Phww/9R7RvblHdV0waoSD9zFSg0oP5YHSvDVzudWx4axjeuilCKSIajUVvdKChzSGn+oBSY+D1fERf61Z3ZN5IZKyOUEekilC//fOPyjfB199VABKJ7OaxlNVpUVklL3WgwgID5zDTE9LiJNpHGopF+8h3wd7d5ETrD0hIH8NXMNuBmiQKwQyslS/ZYbj4RBqYW9+5SyLKrxo475gGNBTeLTy6IlZ9qqV0zjUDNV+Jz6gy0Mw7blMut5wp811gUV+EyNxlM3DWsvdsRZ67GfPsx8rWkKYzsJh5prVnrrM6pWTgjHOKDeNeh2mTuSzSgGGxtqRtSgLL9hXrm3h6gFjezq4QfIso614fRTVS4F3ia9eGMX/spC+2RGI9m6OA0+t4td5mnFOFnVseD8ks+Zj6nsAq2ecCOa3khiKNax+Z82GNrCIDr+a4dftKcG4t+XJqaYiBt4Ta9/bYHvVi5il9GBmSGJoYHBri3eu651183sRnG7sucWAv5rihFLxMCtmszvSgqmJuX0azd1w999CU6qb5L91YQGf9e3npl2e/PW0fiWUJc58vdB3TOg6xVELie2U29dlUKXYQWneI3OhBXVOOi8ItgpUCYt2hGclhvpezOdom+gAhqrO/Pv9x+dOfT0GlDQ0uSNAm1v99qJsDhV0QPEjkezcco9ODOTwXLTcD1U8OUAgGLn6xht0OCYu84bx6BofOJ2rtywQbslLQkBErv/7TX0vdH24cNWUGSV54oXvWmOpHUGMRZxF1O2S4Hgp3xrzUNA5EtgaKFgMUSEkOZdZy59uTetA83gOOOrUNsLHvuMrst3chp77/kOK14ylSwsVJhpookaDGyaGIcaeeuRYQQ1Z9FgUot+vHUGfs2SiBuOALhf27i1wNtfv9WvqqVonBDefHhr4A/EIJ8PoeDqkhPnfvt/v/gWpCksfxSVGqoQgot+Y7xSArJUDmhquSTsBZm4pjrz+eUM50BFz0KPhBe4zNCbAW+4LHYZSK6T6jgwnVvVECb4ngRtjkjGgcz9uRHYFgAsU3S0DOphT1CWHmrNimjGQZHPeTeUVPHoRShKzcHigiT0hoHv/SsDAOp8xmGaiFAdJxv6wPcDtM4fUPQp8+nxcLAAA=";
private static final Log log = LogFactory.getLog(DemoSources.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List