@SuppressWarnings("restriction")
public void init() {
super.init();
bean = (com.sun.management.OperatingSystemMXBean) ManagementFactory.getOperatingSystemMXBean();
UIScreen screen0 = new UIScreen();
screen0.getElements().add(new GLColorPanel(new Vec4f(0,0,0,0.5f), 0,
BaseContext.getConfig().getWindowHeight()-245, 355, 250, panelMeshBuffer));
screen0.getElements().add(new GLStaticTextPanel("FPS:",
10, BaseContext.getConfig().getWindowHeight()-40, 40, 40, fontsTexture));
screen0.getElements().add(new GLStaticTextPanel("CPU:", 10,
BaseContext.getConfig().getWindowHeight()-80, 40, 40, fontsTexture));
screen0.getElements().add(new GLDynamicTextPanel("000", 110,
BaseContext.getConfig().getWindowHeight()-40, 40, 40, fontsTexture));
screen0.getElements().add(new GLDynamicTextPanel("000", 110,
BaseContext.getConfig().getWindowHeight()-80, 40, 40, fontsTexture));
screen0.getElements().add(new GLTexturePanel("textures/logo/OpenGL_Logo.png", 0,
BaseContext.getConfig().getWindowHeight()-240, 360, 160, panelMeshBuffer));
getScreens().add(screen0);
}