Kalkitech interview question

Java problem solving - write a code for gui.