MotifProgressBarUI.java revision 2362
1178N/A/*
1178N/A * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved.
1178N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1178N/A *
1178N/A * This code is free software; you can redistribute it and/or modify it
1178N/A * under the terms of the GNU General Public License version 2 only, as
1178N/A * published by the Free Software Foundation. Oracle designates this
1178N/A * particular file as subject to the "Classpath" exception as provided
1178N/A * by Oracle in the LICENSE file that accompanied this code.
1178N/A *
1178N/A * This code is distributed in the hope that it will be useful, but WITHOUT
1178N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1178N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1178N/A * version 2 for more details (a copy is included in the LICENSE file that
1178N/A * accompanied this code).
1178N/A *
1178N/A * You should have received a copy of the GNU General Public License version
2362N/A * 2 along with this work; if not, write to the Free Software Foundation,
2362N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2362N/A *
1178N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1178N/A * or visit www.oracle.com if you need additional information or have any
1178N/A * questions.
1178N/A */
0N/A
1178N/Apackage com.sun.java.swing.plaf.motif;
1178N/A
1178N/Aimport java.awt.*;
1178N/Aimport javax.swing.*;
1178N/Aimport javax.swing.event.*;
1178N/Aimport javax.swing.plaf.*;
1178N/Aimport java.io.Serializable;
1178N/A
1178N/Aimport javax.swing.plaf.basic.BasicProgressBarUI;
1178N/A
1178N/A
0N/A/**
1178N/A * A Motif ProgressBarUI.
1178N/A * <p>
1178N/A * <strong>Warning:</strong>
1178N/A * Serialized objects of this class will not be compatible with
1178N/A * future Swing releases. The current serialization support is appropriate
1178N/A * for short term storage or RMI between applications running the same
0N/A * version of Swing. A future release of Swing will provide support for
1178N/A * long term persistence.
1178N/A *
1178N/A * @author Michael C. Albers
1178N/A */
1178N/Apublic class MotifProgressBarUI extends BasicProgressBarUI
1178N/A{
1178N/A /**
0N/A * Creates the ProgressBar's UI
0N/A */
1178N/A public static ComponentUI createUI(JComponent x) {
1178N/A return new MotifProgressBarUI();
1178N/A }
0N/A
1178N/A}
1178N/A