1 Clazz.declarePackage ("javax.swing");
2 Clazz.load (["javax.swing.JComponent"], "javax.swing.JPanel", ["java.lang.Boolean", "java.awt.FlowLayout", "javax.swing.UIManager"], function () {
3 c$ = Clazz.declareType (javax.swing, "JPanel", javax.swing.JComponent);
4 Clazz.makeConstructor (c$,
5 function (layout, isDoubleBuffered) {
6 Clazz.superConstructor (this, javax.swing.JPanel, []);
7 this.setLayout (layout);
8 this.setUIProperty ("opaque", Boolean.TRUE);
10 }, "java.awt.LayoutManager,~B");
11 Clazz.makeConstructor (c$,
13 this.construct (layout, true);
14 }, "java.awt.LayoutManager");
15 Clazz.makeConstructor (c$,
16 function (isDoubleBuffered) {
17 this.construct ( new java.awt.FlowLayout (), isDoubleBuffered);
19 Clazz.makeConstructor (c$,
21 this.construct (true);
23 Clazz.overrideMethod (c$, "updateUI",
25 this.setUI (javax.swing.UIManager.getUI (this));
27 Clazz.overrideMethod (c$, "getUI",
31 Clazz.overrideMethod (c$, "getUIClassID",
35 Clazz.defineStatics (c$,
36 "$uiClassID", "PanelUI");