
JAVA AWT AND HOW IT'S USED
1.Introduction Java Absract Window Toolkit(AWT) is a Graphical User Interface(GUI) library.It is used to create windows,buttons,textfields,labels,menus and other components for desktop applications.AWT provides a set of classes that allow programmers to design applications that users can interact with through a graphical interface instead of typing commands.It was one of the earliest GUI toolkits in Java and is found in the java.awt package. 2.Features of Java AWT Java AWT has several important features: Platform Independance -Java programs that use AWT can run on any OS. GUI components -Provides textfields,labels,buttons,menus and may more components. Event handling -Allows programs to respond to use actions ie when user clicks a button a response is given to the action. Layout management -Helps organise components inside a window(there are different types of layout managers). 3.AWT Components Components are the different visual elements that appear on the screen and they include: But
Continue reading on Dev.to
Opens in a new tab



