In this assignment, you must create aNetbeans Java program that:
- prompts the user for a file location (use JFileChooser)
- reads a deterministic finite automata (DFA) from a text file(see format below),
- displays to the user the alphabet associated with the DFA thatwas read
- prompts the user for an input string (use JOptionPane),
- displays whether the DFA accepts the user’s input string (useJOptionPane).
- as Java comments give the Big-O analysis of the fileInput andrun methods
- as a separate file, submit the DFA file you “unit” testedon.
Minimally, your program must implementthe following domain model (additional classes and method will berequired),
The input file containing the DFA
PayPal Gateway not configured
PayPal Gateway not configured