1. do not setFrameSize when resetDesignResolution
2. read config.json when ConfigParser init