void initStatetoForm()
    {
        if (this.state != null)
        {
            textName.setText(state.getState_Properties().getName());
            checkAccept.setSelected(state.getIsFinalState());
            checkStart.setSelected(state.getIsStartState());
        }

    }