Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / javax / swing / JPanel.js
index 09ac83a..bed56b6 100644 (file)
@@ -1,37 +1,37 @@
-Clazz.declarePackage ("javax.swing");\r
-Clazz.load (["javax.swing.JComponent"], "javax.swing.JPanel", ["java.lang.Boolean", "java.awt.FlowLayout", "javax.swing.UIManager"], function () {\r
-c$ = Clazz.declareType (javax.swing, "JPanel", javax.swing.JComponent);\r
-Clazz.makeConstructor (c$, \r
-function (layout, isDoubleBuffered) {\r
-Clazz.superConstructor (this, javax.swing.JPanel, []);\r
-this.setLayout (layout);\r
-this.setUIProperty ("opaque", Boolean.TRUE);\r
-this.updateUI ();\r
-}, "java.awt.LayoutManager,~B");\r
-Clazz.makeConstructor (c$, \r
-function (layout) {\r
-this.construct (layout, true);\r
-}, "java.awt.LayoutManager");\r
-Clazz.makeConstructor (c$, \r
-function (isDoubleBuffered) {\r
-this.construct ( new java.awt.FlowLayout (), isDoubleBuffered);\r
-}, "~B");\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-this.construct (true);\r
-});\r
-Clazz.overrideMethod (c$, "updateUI", \r
-function () {\r
-this.setUI (javax.swing.UIManager.getUI (this));\r
-});\r
-Clazz.overrideMethod (c$, "getUI", \r
-function () {\r
-return this.ui;\r
-});\r
-Clazz.overrideMethod (c$, "getUIClassID", \r
-function () {\r
-return "PanelUI";\r
-});\r
-Clazz.defineStatics (c$,\r
-"$uiClassID", "PanelUI");\r
-});\r
+Clazz.declarePackage ("javax.swing");
+Clazz.load (["javax.swing.JComponent"], "javax.swing.JPanel", ["java.lang.Boolean", "java.awt.FlowLayout", "javax.swing.UIManager"], function () {
+c$ = Clazz.declareType (javax.swing, "JPanel", javax.swing.JComponent);
+Clazz.makeConstructor (c$, 
+function (layout, isDoubleBuffered) {
+Clazz.superConstructor (this, javax.swing.JPanel, []);
+this.setLayout (layout);
+this.setUIProperty ("opaque", Boolean.TRUE);
+this.updateUI ();
+}, "java.awt.LayoutManager,~B");
+Clazz.makeConstructor (c$, 
+function (layout) {
+this.construct (layout, true);
+}, "java.awt.LayoutManager");
+Clazz.makeConstructor (c$, 
+function (isDoubleBuffered) {
+this.construct ( new java.awt.FlowLayout (), isDoubleBuffered);
+}, "~B");
+Clazz.makeConstructor (c$, 
+function () {
+this.construct (true);
+});
+Clazz.overrideMethod (c$, "updateUI", 
+function () {
+this.setUI (javax.swing.UIManager.getUI (this));
+});
+Clazz.overrideMethod (c$, "getUI", 
+function () {
+return this.ui;
+});
+Clazz.overrideMethod (c$, "getUIClassID", 
+function () {
+return "PanelUI";
+});
+Clazz.defineStatics (c$,
+"$uiClassID", "PanelUI");
+});