/* * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package org.knemcl.uitool; import javax.swing.*; import javax.swing.plaf.*; import javax.swing.plaf.basic.*; import java.awt.*; /** * The Metal implementation of ProgressBarUI. *

* Warning: * Serialized objects of this class will not be compatible with * future Swing releases. The current serialization support is * appropriate for short term storage or RMI between applications running * the same version of Swing. As of 1.4, support for long term storage * of all JavaBeans™ * has been added to the java.beans package. * Please see {@link java.beans.XMLEncoder}. * * @author Michael C. Albers */ public class KNEProgressBarUI extends BasicProgressBarUI { // private Rectangle innards; // private Rectangle box; public static ComponentUI createUI(JComponent c) { return new KNEProgressBarUI(); } /** * Draws a bit of special highlighting on the progress bar. * The core painting is deferred to the BasicProgressBar's * paintDeterminate method. * @since 1.4 */ public void paintDeterminate(Graphics g, JComponent c) { super.paintDeterminate(g,c); } /** * Draws a bit of special highlighting on the progress bar * and bouncing box. * The core painting is deferred to the BasicProgressBar's * paintIndeterminate method. * @since 1.4 */ public void paintIndeterminate(Graphics g, JComponent c) { super.paintIndeterminate(g, c); } }