1. /*
  2. * @(#)BasicCheckBoxUI.java 1.33 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package javax.swing.plaf.basic;
  11. import javax.swing.*;
  12. import java.awt.*;
  13. import java.awt.event.*;
  14. import javax.swing.plaf.*;
  15. import java.io.Serializable;
  16. /**
  17. * CheckboxUI implementation for BasicCheckboxUI
  18. * <p>
  19. * <strong>Warning:</strong>
  20. * Serialized objects of this class will not be compatible with
  21. * future Swing releases. The current serialization support is appropriate
  22. * for short term storage or RMI between applications running the same
  23. * version of Swing. A future release of Swing will provide support for
  24. * long term persistence.
  25. *
  26. * @version 1.33 02/02/00
  27. * @author Jeff Dinkins
  28. */
  29. public class BasicCheckBoxUI extends BasicRadioButtonUI {
  30. private final static BasicCheckBoxUI checkboxUI = new BasicCheckBoxUI();
  31. private final static String propertyPrefix = "CheckBox" + ".";
  32. // ********************************
  33. // Create PLAF
  34. // ********************************
  35. public static ComponentUI createUI(JComponent b) {
  36. return checkboxUI;
  37. }
  38. public String getPropertyPrefix() {
  39. return propertyPrefix;
  40. }
  41. }