What is Database Architecture

Image
Database  Architecture  Database store a lot of critical information to access data quickly and security we need to select the correct architecture for efficient data for management client for the machine is the database architecture client  . Database management system architecture help user to get their into a request done file connecting with database . We choose the database architecture based on the following factures  1.Size of the database                                                                            2.Number of users                                                                      ...

What is Abstract Window Toolkit (AWT)


Java AWT is an API to developer GUI and window based application in java. Java AWT provide a huge set of reusable GUI component for such as buttons text fill label panel and frame for building GUI at the applications. AWT consist of twelve packages but only two packages are commonly used.

.AWT provides a set of classes and interfaces that help the developer to create components such as buttons, text fields, labels, checkboxes, menus, windows. This is a platform-dependent API of Java, that is its implementation depends on the native GUI components of the menus operating system.

1. Features of Java AWT :-
The java AWT packages contains the core AWT graphics classes such as text fill.
.GUI components classes such as text fill label.
.GUI container classes , frame panel.
.Layout managers such as flow layout border layout , grid layout.
.Custom graphics classes such as col and font.

.Platform-dependent :-Uses Native OS components.
.Provides GUI Components :- Button, Label, Text Field, Checkbox, List, etc .Event Handling :-Supports event delegation model to handle user actions (mouse click, key press, etc.).                                                                                                                                                .Graphics support :-Graphics class to draw shapes (line, circle, is the rectangle) and images.
.Lightweight and heavyweight components :-AWT components are heavyweight because they use native resources of the OS.

2. Java AWT Component:- Packages supports event handling.
   .Event classes such as action, event, mouse event, key event.
   .Event listener such as action listener , mouse listener, key listener 

   .Commonly used AWT Components:
   .Button :-Creates a clickable button.
   .Label :-Displays text.
   .Text Field :-Single-line text input field.
   .Checkbox :-For selecting options.
   .List :-Displays a list of items.
   .Frame :-Creates a main window.

Comments

Popular posts from this blog

What is Computer engineering, complete information

What is Constants, Variables, and Data Types

What is Diploma Engineering and How to Diploma engineering free course