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
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2008 - 2013 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.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 org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
public class DemoSources extends JPanel implements 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 = "H4sIAAAAAAAAAKVVz2sTQRSeRpPmR39pba1YodYKgrgRBEVa1Poj1BK1mKJiLk6y03bK7M50ZtZsPYh/gn+C3r0I3jyJB88evIj/gogHr+Kb2SSb6JoEkkOS3fe+b77v7Xtv33xHaSXRyV0cho4MfE094qyvPnp0r7ZL6vomUXVJheYSRZ+RFEpVUcFt31canaqWDbzYhBdvcE9wn/gd6OUyyiu9z4jaIURrdKIbUVeqWGmHl0MRyBZrW1QS66ufP1Iv3RevUwiFAtQVwMpCP1Ts5GAZpair0WE46SkuMuxvgwxJ/W3QO27u3WBYqbvYI3voORoto4zAEsg0WhzcsuWw+FBolF1a38A+Yec1mrFKXeJx5yZ8VXgg60QJYZMzGo3uYN9lRGo0n5i5FoVjwDj169wD+fZIjSaNBcfYcuydjsx6II2RiEmjqTgzKkCHChWdptGETQo0ZU6ZKh2nTBGXgmPja41g1yg+YnJDRzWAy1nf5Jxdx9Kk59qofES8iWvK1qIjH8pZ49d5aDLn2oCxJbi1VKIMTEP5ZjshcaQbk9vi4JI+4+0qtjojwpVa4W5YPnak0dEubZW65IyZSLedTATR6CyX284W3SJOQB2p9n2NQ01CDZ2DnfsVe70J16twbbBLArr2eJc2mAcnnoe4YUeqKC0DZh7GXPXfEboPoWh45v4aHkNoo79np7+8//au1JqYKTh7JjG1Y+Chk4XkAp4rNUdPRuNiGqF4B4vlKsopwmBb2G0wnyCs0gyDODjvUNxHa1jtAEV69OuHj7NPPh9AqRLKM47dEjb5t1FO70ioAmduKK5es4rGGlkj3GiDqjO8zwMYyIkVF2u8UKO+C4/pSghFmE8oQltJLffp13Tl7bVWIUZA2LH/psfFSD9GGeoz6hO7PJp7IXFZFIQigcvj+U/aCCPmNy+aw1S03xeSnI7XuITR2sDU18QsrZVIxgLWMLG1QBMwbdCXrBvz77IlPzYAeW4Liq5xjVntQxBluMB7wbAsaY+7hJnwxWSS+QFIss3RJz14FvvymNtrPez0Z4DFBQ3cKHWoGYJrqs5Z4PnRnn1ASaOHu9MD8E1j6PZVRrGCsbnlmxZwe0g8MwDlaCRRDUmTNQu1T0sOwmNfAedU70YYSJAZt4cSiyEFFeAVTb3A69Obg1CNN0COfVM8hO3QR9cfs3yM3OwJAAA=";
private static final Log log = LogFactory.getLog(DemoSources.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List