/*     */ public static ComponentUI createUI(JComponent paramJComponent) /*     */ {
   /* 128 */ MultiOptionPaneUI localMultiOptionPaneUI = new MultiOptionPaneUI();
   /* 129 */ return MultiLookAndFeel.createUIs(
       localMultiOptionPaneUI, ((MultiOptionPaneUI) localMultiOptionPaneUI).uis, paramJComponent);
   /*     */ }
 public static ComponentUI createUI(JComponent a) {
   MultiColorChooserUI mui = new MultiColorChooserUI();
   ComponentUI result = MultiLookAndFeel.createUIs(mui, mui.uis, a);
   mui.numberOfUIs = mui.uis.size();
   return result;
 }
 /**
  * {@collect.stats} Returns a multiplexing UI instance if any of the auxiliary <code>LookAndFeel
  * </code>s supports this UI. Otherwise, just returns the UI object obtained from the default
  * <code>LookAndFeel</code>.
  */
 public static ComponentUI createUI(JComponent a) {
   ComponentUI mui = new MultiMenuItemUI();
   return MultiLookAndFeel.createUIs(mui, ((MultiMenuItemUI) mui).uis, a);
 }
Example #4
0
 /**
  * Creates a delegate object for the specified component. If any auxiliary look and feels support
  * this component, a <code>MultiToolBarUI</code> is returned, otherwise the UI from the default
  * look and feel is returned.
  *
  * @param target the component.
  * @see MultiLookAndFeel#createUIs(ComponentUI, Vector, JComponent)
  */
 public static ComponentUI createUI(JComponent target) {
   MultiToolBarUI mui = new MultiToolBarUI();
   return MultiLookAndFeel.createUIs(mui, mui.uis, target);
 }