private static void prepare() { if (!SystemUtil.getModulesDirectory().exists()) SystemUtil.getModulesDirectory().mkdirs(); WebLookAndFeel feel = new WebLookAndFeel(); try { UIManager.setLookAndFeel(feel); } catch (UnsupportedLookAndFeelException e) { DebugUtils.error(e.getMessage()); e.printStackTrace(); } }
/** инициализация всех компонентов */ private static void init() { moduleManager = new ModuleManager(SystemUtil.getModulesDirectory()); desktop = new Desktop(); }