WakfuApplicationUI() { super(); this.m_minDimensions = new Dimension(800, 600); try { final String skinPath = WakfuConfiguration.getInstance().getString("appSkinPath"); final ApplicationSkin skinNormal = new ApplicationSkin(skinPath); final ApplicationSkin skinOff = new ApplicationSkin(skinPath, "Off", skinNormal); this.setTitle(WakfuTranslator.getInstance().getString("desc.wakfu")); this.setSkins(skinNormal, skinOff); final int minWidth = WakfuConfiguration.getInstance().getInteger("resolution.min.width", 800); final int minHeight = WakfuConfiguration.getInstance().getInteger("resolution.min.height", 600); this.m_minDimensions.setSize(minWidth, minHeight); } catch (PropertyException e) { WakfuApplicationUI.m_logger.error((Object) "Unable to create skinPath", (Throwable) e); } }