if (UserConfiguration.getOsName().startsWith("Windows")) {
log.warn("activating windows frame bound behaviour");
System.getProperties().put(Constants.D_WITH_INSETS_PROPERTY, "true");
}
log.debug("creating frame");
frame=new JPianoTrainFrame();
ErrorHandler.setErrorDisplay(frame);
ApplicationContext.getInstance().setDefaultDialogOwner(frame);
log.debug("initiating frame");
frame.initGui();
}