1. Chapter 17Creating User InterfacesLiang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 2. MotivationsA graphical…