By default, your game runs in a window of its own, and the user can move this window by dragging the title bar. In this case, you should customize the title bar and specify a resolution.
Copy application icons in various sizes to your project's
Interface/icons
directory.Add the following code in your game's
main()
class:public static void main(String[] args) { AppSettings settings = new AppSettings(true); settings.setResolution(1024,768); settings.setTitle("My Cool Game"); try { Class<Main> myclass = Main.class; settings.setIcons(new BufferedImage[]{ ImageIO.read(myclass.getResourceAsStream("/Interface/icons/SmartMonkey256.png")), ImageIO.read(myclass.getResourceAsStream("/Interface/icons/SmartMonkey128.png")), ImageIO.read(myclass.getResourceAsStream("/Interface/icons/SmartMonkey32.png")), ImageIO.read(myclass.getResourceAsStream("/Interface/icons/SmartMonkey16.png")),}); } catch (IOException...