Third task of The 7 Tasks from 7GUIs
Challenge: Constraints.The task is to build a frame containing a combobox C with the two options “one-way flight” and “return flight”, two textfields T1 and T2 representing the start and return date, respectively, and a button B for submitting the selected flight. T2 is enabled if C’s value is “return flight”.