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);
   }
 }
 @Override
 public void onCloseEvent() {
   if (SWFWrapper.INSTANCE.isOpened()) {
     SWFWrapper.INSTANCE.unload();
     return;
   }
   final MessageBoxControler messageBoxControler =
       Xulor.getInstance()
           .msgBox(
               WakfuTranslator.getInstance().getString("question.quit"),
               WakfuMessageBoxConstants.getMessageBoxIconUrl(0),
               2073L,
               102,
               1);
   messageBoxControler.addEventListener(
       new MessageBoxEventListener() {
         @Override
         public void messageBoxClosed(final int type, final String userEntry) {
           if (type == 8) {
             WakfuApplicationUI.this.onCloseEvent();
           }
         }
       });
 }