X Tutup
Skip to content

Commit 40510b6

Browse files
committed
move of Jama to gov.nist.jama
1 parent 066be40 commit 40510b6

File tree

248 files changed

+92492
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+92492
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
(function(){var P$=Clazz.newPackage("com.falstad"),I$=[];
2+
var C$=Clazz.newClass(P$, "Antenna", null, 'a2s.Applet');
3+
C$.ogf = null;
4+
5+
C$.$clinit$ = function() {Clazz.load(C$, 1);
6+
}
7+
8+
Clazz.newMeth(C$, '$init0$', function () {
9+
var c;if((c = C$.superclazz) && (c = c.$init0$))c.apply(this);
10+
this.started = false;
11+
}, 1);
12+
13+
Clazz.newMeth(C$, '$init$', function () {
14+
this.started = false;
15+
}, 1);
16+
17+
Clazz.newMeth(C$, 'destroyFrame', function () {
18+
if (C$.ogf != null ) C$.ogf.dispose();
19+
C$.ogf = null;
20+
});
21+
22+
Clazz.newMeth(C$, 'init', function () {
23+
C$.ogf = Clazz.new_((I$[1]||(I$[1]=Clazz.load('com.falstad.AntennaFrame'))).c$$com_falstad_Antenna,[this]);
24+
C$.ogf.init();
25+
});
26+
27+
Clazz.newMeth(C$, 'destroy', function () {
28+
if (C$.ogf != null ) C$.ogf.dispose();
29+
C$.ogf = null;
30+
});
31+
32+
Clazz.newMeth(C$, 'main', function (args) {
33+
C$.ogf = Clazz.new_((I$[1]||(I$[1]=Clazz.load('com.falstad.AntennaFrame'))).c$$com_falstad_Antenna,[null]);
34+
C$.ogf.init();
35+
}, 1);
36+
37+
Clazz.newMeth(C$, 'paint$java_awt_Graphics', function (g) {
38+
C$.superclazz.prototype.paint$java_awt_Graphics.apply(this, [g]);
39+
var s = "Applet is open in a separate window.";
40+
if (!this.started) s = "Applet is starting.";
41+
else if (C$.ogf == null ) s = "Applet is finished.";
42+
else if (C$.ogf.useFrame) C$.ogf.triggerShow();
43+
if (C$.ogf == null || C$.ogf.useFrame ) g.drawString$S$I$I(s, 10, 30);
44+
});
45+
46+
Clazz.newMeth(C$);
47+
})();
48+
//Created 2017-12-17 19:27:58
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
(function(){var P$=Clazz.newPackage("com.falstad"),I$=[];
2+
var C$=Clazz.newClass(P$, "AntennaCanvas", null, 'a2s.Canvas');
3+
4+
C$.$clinit$ = function() {Clazz.load(C$, 1);
5+
}
6+
7+
Clazz.newMeth(C$, '$init0$', function () {
8+
var c;if((c = C$.superclazz) && (c = c.$init0$))c.apply(this);
9+
this.pg = null;
10+
}, 1);
11+
12+
Clazz.newMeth(C$, '$init$', function () {
13+
}, 1);
14+
15+
Clazz.newMeth(C$, 'c$$com_falstad_AntennaFrame', function (p) {
16+
Clazz.super_(C$, this,1);
17+
this.pg = p;
18+
}, 1);
19+
20+
Clazz.newMeth(C$, 'getPreferredSize', function () {
21+
return Clazz.new_((I$[0]||(I$[0]=Clazz.load('java.awt.Dimension'))).c$$I$I,[300, 400]);
22+
});
23+
24+
Clazz.newMeth(C$, 'update$java_awt_Graphics', function (g) {
25+
this.pg.updateAntenna$java_awt_Graphics(g);
26+
});
27+
28+
Clazz.newMeth(C$, 'paintComponent$java_awt_Graphics', function (g) {
29+
this.pg.updateAntenna$java_awt_Graphics(g);
30+
});
31+
32+
Clazz.newMeth(C$);
33+
})();
34+
//Created 2017-12-17 19:27:58

0 commit comments

Comments
 (0)
X Tutup