package linechart;
import javafx.scene.Scene;
import javafx.stage.Stage;
/**
*
* @author Rakesh Menon
*/
var cpuMonitor = CPUMonitor {
height: 300
width: 400
visible: false
};
Stage {
title: "CPU Monitor"
scene: Scene {
content: [
cpuMonitor
]
}
resizable: false
height: 320
width: 420
}
cpuMonitor.start();
cpuMonitor.visible = true;
|