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.runtime.swing;
/*-
* #%L
* JAXX :: Widgets
* %%
* 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.Color;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.swing.JComponent;
import javax.swing.Timer;
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.context.DefaultJAXXContext;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class MemoryStatusWidget extends JComponent implements ActionListener, JAXXObject {
/*-----------------------------------------------------------------------*/
/*---------------- Constants for all javaBean properties ----------------*/
/*-----------------------------------------------------------------------*/
public static final String PROPERTY_PROGRESS_BACKGROUND = "progressBackground";
public static final String PROPERTY_PROGRESS_FOREGROUND = "progressForeground";
public static final String PROPERTY_TIMER = "timer";
/*-----------------------------------------------------------------------*/
/*------------------------- Other static fields -------------------------*/
/*-----------------------------------------------------------------------*/
private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAI1TwW7TQBCdGJKQtEBpoSoiSIEWTpXNPQgKRVGpUpAIEhW5dBMviYvjXXbHxL0gPoFPgDsXJG6cEAfOHLggfgEhDlwRs45jJ2BEfbCtnfdm3sy8ff0NilrBhX0WRbYKA/SG3N6+sbt7t7vPe3iL657yJAoF46dggdWBOTc91wirnZahOwnd2RRDKQIeTLEbLahqPPC5HnCOCOdnGT2tnXYabkQyVJOsqai8rC9/fLdeuM9fWQCRJHWmlfr/WFknR1tgeS7CIlV6yhyfBX2SobygT3qPm7NNn2l9hw35E3gG5RaUJFOUDOHi4VuOc8T8SCLMr22n4CsIl2bU6hHVtnf4UKiDNjIM9QPP7XOUMk5QQigPWOD6XCGsH4q5NYZnCYoGTvRTpr0o4d03ZxlmUSrRV1zrm6z3uK9EGNCQThiCzUZIM/VFHropFB+jTeQ0IRScm1FJe7azPWeLKHSgqEI6Rljp/G2NexQam2LlD1OYhHH01/LS53df3zYnTrCo9plc6JSRaUOkXdI4PFP65NgGIXq+s8NkowMVzX26BbHLaznC2kmYxFG9eKS2odtbTA8oRbH85f2H5b1PR8BqQtUXzG0yg78NFRzQyAbCdyN5fSNWND86Ru8Fow2h2p0e/VWXIat3vcClbV2LaBC1nEGkarqVjz+X2m82JsMokLiz/4RnAyk+hJIX+F7A44uReD73IsxJzUNXZN7Oc3vBfKsysUotftdzu300Y53VKDSftVi6+bucZvoNd/ihkrAEAAA=";
private static final Log log = LogFactory.getLog(MemoryStatusWidget.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List