public static GUIAbsTemplate getInstance(){
        switch(showGUITypeAsk()){
            case 0:
                return GUIAbsTemplate.getChainInstance(GUIImplCommandLine.getInstance());
            case 1:
                return GUIAbsTemplate.getChainInstance(GUIImplGPopupWindow.getInstance());
            default:
                return null;
        }
    }