I have a small working game prototype. I want to do something like

LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
cfg.resizable = false;

But I get "LwjglApplicationConfiguration cannot be resolved to a type"

What can I do? Or is there a different method? Thanks.

  • 1
    \$\begingroup\$ where are you trying to use this code? Generally, the different sub projects (desktop, android, ios) have a launcher file that already has a cfg object defined. (Look at DesktopLauncher.java in the desktop project) \$\endgroup\$ Nov 16, 2015 at 19:04
  • \$\begingroup\$ That was it. Thanks. This config code needs to be in -desktop/DesktopLauncher.java not the -´-core/MyGame ! \$\endgroup\$
    – rluks
    Nov 16, 2015 at 23:03

1 Answer 1


This code should work:

LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.resizable = false;
new LwjglApplication(new YourGame(), config);

Are you using the newest source from svn?
If it still doesn't work, there must be another problem..


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .