jdk/src/java.desktop/share/classes/javax/swing/UIManager.java
changeset 32865 f9cb6e427f9e
parent 28231 b608ffcaed74
child 38990 825c5348424c
equal deleted inserted replaced
32864:2a338536e642 32865:f9cb6e427f9e
  1072      * @see #removeAuxiliaryLookAndFeel
  1072      * @see #removeAuxiliaryLookAndFeel
  1073      * @see #setLookAndFeel
  1073      * @see #setLookAndFeel
  1074      * @see #getAuxiliaryLookAndFeels
  1074      * @see #getAuxiliaryLookAndFeels
  1075      * @see #getInstalledLookAndFeels
  1075      * @see #getInstalledLookAndFeels
  1076      */
  1076      */
  1077     static public void addAuxiliaryLookAndFeel(LookAndFeel laf) {
  1077     public static void addAuxiliaryLookAndFeel(LookAndFeel laf) {
  1078         maybeInitialize();
  1078         maybeInitialize();
  1079 
  1079 
  1080         if (!laf.isSupportedLookAndFeel()) {
  1080         if (!laf.isSupportedLookAndFeel()) {
  1081             // Ideally we would throw an exception here, but it's too late
  1081             // Ideally we would throw an exception here, but it's too late
  1082             // for that.
  1082             // for that.
  1113      * @see #removeAuxiliaryLookAndFeel
  1113      * @see #removeAuxiliaryLookAndFeel
  1114      * @see #getAuxiliaryLookAndFeels
  1114      * @see #getAuxiliaryLookAndFeels
  1115      * @see #setLookAndFeel
  1115      * @see #setLookAndFeel
  1116      * @see #getInstalledLookAndFeels
  1116      * @see #getInstalledLookAndFeels
  1117      */
  1117      */
  1118     static public boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) {
  1118     public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) {
  1119         maybeInitialize();
  1119         maybeInitialize();
  1120 
  1120 
  1121         boolean result;
  1121         boolean result;
  1122 
  1122 
  1123         Vector<LookAndFeel> v = getLAFState().auxLookAndFeels;
  1123         Vector<LookAndFeel> v = getLAFState().auxLookAndFeels;
  1151      * @see #addAuxiliaryLookAndFeel
  1151      * @see #addAuxiliaryLookAndFeel
  1152      * @see #removeAuxiliaryLookAndFeel
  1152      * @see #removeAuxiliaryLookAndFeel
  1153      * @see #setLookAndFeel
  1153      * @see #setLookAndFeel
  1154      * @see #getInstalledLookAndFeels
  1154      * @see #getInstalledLookAndFeels
  1155      */
  1155      */
  1156     static public LookAndFeel[] getAuxiliaryLookAndFeels() {
  1156     public static LookAndFeel[] getAuxiliaryLookAndFeels() {
  1157         maybeInitialize();
  1157         maybeInitialize();
  1158 
  1158 
  1159         Vector<LookAndFeel> v = getLAFState().auxLookAndFeels;
  1159         Vector<LookAndFeel> v = getLAFState().auxLookAndFeels;
  1160         if ((v == null) || (v.size() == 0)) {
  1160         if ((v == null) || (v.size() == 0)) {
  1161             return null;
  1161             return null;