Java Abstract Window Toolkit (AWT) is an Application Program Interface (API). The components used in Java AWT are platform-dependent. It uses recourses of the operating system which means the view of these components is changed according to the operating system. For creating standalone applications, Java AWT API is used. AWT allows programmers to create a Graphical User Interface (GUI) for a window-based application.