private void doFinishAction() {
        switch (finishAction) {
            case (NONE) : break;
            case (HIDE) : {
                if (component instanceof GUIComponentGroup) {
                    ((GUIComponentGroup) component).hide();
                }
                break;
            }
            case (SHOW) : {
                if (component instanceof GUIComponentGroup) {
                    ((GUIComponentGroup) component).show();
                }
                break;
            }
            case (VISIBLE) : {
                component.setVisible(true);
                break;
            }
            case (INVISIBLE) : {
                component.setVisible(false);
                break;
            }
        }

        finishAction = NONE;
    }