I have a textfield in Java eclipse interface for which i want to validate it to accept only time format, but I don't want seconds included. 

How do I validate it to accept only this format **hh:mm** but from hours 8:00 morning till 16:00 afternoon.

P.s TextField variable name is txtOra.