com.jme3.system.AppSettings.getTitle()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(102)

本文整理了Java中com.jme3.system.AppSettings.getTitle()方法的一些代码示例,展示了AppSettings.getTitle()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AppSettings.getTitle()方法的具体详情如下:
包路径:com.jme3.system.AppSettings
类名称:AppSettings
方法名:getTitle

AppSettings.getTitle介绍

[英]Get the application title
[中]获取应用程序标题

代码示例

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

protected void createGLFrame(){
  canvas.setTitle(settings.getTitle());
  
  applySettings(settings);
  
  // Make the window visible to realize the OpenGL surface.
  canvas.setVisible(true);
  
  //this is the earliest safe opportunity to get the context
  //final GLContext context = canvas.getContext();
  
  /*canvas.invoke(true, new GLRunnable() {
    @Override
    public boolean run(GLAutoDrawable glAutoDrawable) {     
      context.makeCurrent();
      try {
        startGLCanvas();
      }
      finally {
        context.release();
      }
      return true;
    }
  });*/
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

String appTitle = source.getTitle();

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

protected void createGLFrame(){
  if (useAwt){
    frame = new Frame(settings.getTitle());
  }else{
    frame = new JFrame(settings.getTitle());

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

setTitle(MessageFormat.format(resourceBundle.getString("frame.title"), source.getTitle()));

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

if(source.getTitle()!=null){
  appTitle = source.getTitle();
}else{
  appTitle = registrySettings.getTitle();

代码示例来源: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: jMonkeyEngine/jmonkeyengine

Display.setTitle(settings.getTitle());
Display.setResizable(settings.isResizable());

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

window = glfwCreateWindow(settings.getWidth(), settings.getHeight(), settings.getTitle(), monitor, NULL);

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

window = glfwCreateWindow(settings.getWidth(), settings.getHeight(), settings.getTitle(), monitor, NULL);

代码示例来源:origin: org.jmonkeyengine/jme3-jogl

protected void createGLFrame(){
  canvas.setTitle(settings.getTitle());
  
  applySettings(settings);
  
  // Make the window visible to realize the OpenGL surface.
  canvas.setVisible(true);
  
  //this is the earliest safe opportunity to get the context
  //final GLContext context = canvas.getContext();
  
  /*canvas.invoke(true, new GLRunnable() {
    @Override
    public boolean run(GLAutoDrawable glAutoDrawable) {     
      context.makeCurrent();
      try {
        startGLCanvas();
      }
      finally {
        context.release();
      }
      return true;
    }
  });*/
}

代码示例来源:origin: info.projectkyoto/mms-engine

String appTitle = source.getTitle();

代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-desktop

String appTitle = source.getTitle();

代码示例来源:origin: org.jmonkeyengine/jme3-jogl

protected void createGLFrame(){
  if (useAwt){
    frame = new Frame(settings.getTitle());
  }else{
    frame = new JFrame(settings.getTitle());

代码示例来源:origin: info.projectkyoto/mms-engine

if(source.getTitle()!=null){
  appTitle = source.getTitle();
}else{
  appTitle = registrySettings.getTitle();

代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-desktop

setTitle(MessageFormat.format(resourceBundle.getString("frame.title"), source.getTitle()));

代码示例来源:origin: tonihele/OpenKeeper

folder = PathUtils.fixFilePath(folder).concat(getSettings().getTitle()).concat("-").concat(String.valueOf(System.currentTimeMillis() / 1000)).concat(".avi");
recorder.setFile(new File(folder));

代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-desktop

if(source.getTitle()!=null){
  appTitle = source.getTitle();
}else{
  appTitle = registrySettings.getTitle();

代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-lwjgl

Display.setTitle(settings.getTitle());
Display.setResizable(settings.isResizable());

代码示例来源:origin: org.jmonkeyengine/jme3-lwjgl3

window = glfwCreateWindow(settings.getWidth(), settings.getHeight(), settings.getTitle(), monitor, NULL);

相关文章

AppSettings类方法