ts-jsdk
Version:
TypeScript implementation of the Java platform
26 lines • 609 B
JavaScript
import { JWindow } from "../awt/JWindow";
export class JFrame extends JWindow {
constructor(name) {
super();
this.name = name;
this.values = new Map();
this.menuBar = undefined;
}
putValue(key, value) {
this.values.set(key, value);
}
getValue(key) {
this.values.get(key);
}
setJMenuBar(menuBar) {
this.menuBar = menuBar;
}
getJMenuBar() {
return this.menuBar;
}
getContentPane() {
return this.contents;
}
}
JFrame.SHORT_DESCRIPTION = "SHORT_DESCRIPTION";
//# sourceMappingURL=JFrame.js.map