When you create DFA in JFLAP, you do not need to specify the trap state. When there is no out-going transition from a state with given input, JFLAP assumes that it goes to trap state and end parsing input string. In order to complete DFA, there is now new feature in JFLAP that adds trap state and necessary transitions to complete DFA.