本文整理了Java中com.jme3.system.AppSettings.setTitle()
方法的一些代码示例,展示了AppSettings.setTitle()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AppSettings.setTitle()
方法的具体详情如下:
包路径:com.jme3.system.AppSettings
类名称:AppSettings
方法名:setTitle
暂无
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
settings.setVSync(false); // stop vsyncing on primary monitor!
settings.setSwapBuffers(!disableSwapBuffers || VRhardware instanceof OSVR);
settings.setTitle("Put Headset On Now: " + settings.getTitle());
settings.setResizable(true);
代码示例来源:origin: tonihele/OpenKeeper
private Settings(final AppSettings settings) {
// Init the settings
this.settings = settings;
//Default resolution
if (!this.settings.containsKey("Width") || !this.settings.containsKey("Height")) {
this.settings.setResolution(800, 600); // Default resolution
}
File settingsFile = new File(USER_SETTINGS_FILE);
if (settingsFile.exists()) {
try (InputStream is = new FileInputStream(settingsFile)) {
this.settings.load(is);
} catch (IOException ex) {
LOGGER.log(java.util.logging.Level.WARNING, "Settings file failed to load from " + settingsFile + "!", ex);
}
}
this.settings.setFrameRate(Math.max(MAX_FPS, settings.getFrequency()));
// Assing some app level settings
settings.setTitle(TITLE);
settings.setIcons(getApplicationIcons());
}
代码示例来源:origin: net.sf.phat/phat-server
public static void main(String[] args) {
Logger.getGlobal().setLevel(Level.ALL);
ZxingTest app = new ZxingTest();
app.setPauseOnLostFocus(false);
app.setShowSettings(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT - QR test");
settings.setWidth(800);
settings.setHeight(480);
app.setSettings(settings);
app.start();
}
代码示例来源:origin: net.sf.phat/phat-server
public static void main(String[] args) {
SensorPresenceHouseTest test = new SensorPresenceHouseTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(1280);
settings.setHeight(960);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-server
public static void main(String[] args) {
WalkingAroundHouseAccTest test = new WalkingAroundHouseAccTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(1280);
settings.setHeight(720);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-api-server
public static void main(String[] args) {
JsonRpcTest test = new JsonRpcTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(1280);
settings.setHeight(720);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-server
public static void main(String[] args) {
ScreenAVDTest test = new ScreenAVDTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(640);
settings.setHeight(480);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-devices
public static void main(String[] args) {
PresenceSensorTest test = new PresenceSensorTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(1280);
settings.setHeight(960);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-server
public static void main(String[] args) {
AccelerometerParkinsonTest test = new AccelerometerParkinsonTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(640);
settings.setHeight(480);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-server
public static void main(String[] args) {
RemoteAccelerometerParkinsonTest test = new RemoteAccelerometerParkinsonTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(640);
settings.setHeight(480);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-server
public static void main(String[] args) {
SpeakerTest test = new SpeakerTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(640);
settings.setHeight(480);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-api-server
public static void main(String[] args) {
RandomWalkTest test = new RandomWalkTest();
PHATApplication phat = new PHATApplication(test);
phat.setDisplayFps(true);
phat.setDisplayStatView(false);
AppSettings settings = new AppSettings(true);
settings.setTitle("PHAT");
settings.setWidth(1280);
settings.setHeight(780);
phat.setSettings(settings);
phat.start();
}
代码示例来源:origin: net.sf.phat/phat-interface
s.setTitle(initializer.getTittle());
s.setWidth(displayWidth);
s.setHeight(displayHeight);
内容来源于网络,如有侵权,请联系作者删除!