পৃষ্ঠাসমূহ

Search Your Article

CS

 

Welcome to GoogleDG – your one-stop destination for free learning resources, guides, and digital tools.

At GoogleDG, we believe that knowledge should be accessible to everyone. Our mission is to provide readers with valuable ebooks, tutorials, and tech-related content that makes learning easier, faster, and more enjoyable.

What We Offer:

  • 📘 Free & Helpful Ebooks – covering education, technology, self-development, and more.

  • 💻 Step-by-Step Tutorials – practical guides on digital tools, apps, and software.

  • 🌐 Tech Updates & Tips – simplified information to keep you informed in the fast-changing digital world.

  • 🎯 Learning Support – resources designed to support students, professionals, and lifelong learners.

    Latest world News 

     

Our Vision

To create a digital knowledge hub where anyone, from beginners to advanced learners, can find trustworthy resources and grow their skills.

Why Choose Us?

✔ Simple explanations of complex topics
✔ 100% free access to resources
✔ Regularly updated content
✔ A community that values knowledge sharing

We are continuously working to expand our content library and provide readers with the most useful and relevant digital learning materials.

📩 If you’d like to connect, share feedback, or suggest topics, feel free to reach us through the Contact page.

Pageviews

Sunday, January 15, 2017

AWT Controls

Every user interface considers the following three main aspects:
  • UI elements : Thes are the core visual elements the user eventually sees and interacts with. GWT provides a huge list of widely used and common elements varying from basic to complex which we will cover in this tutorial.
  • Layouts: They define how UI elements should be organized on the screen and provide a final look and feel to the GUI (Graphical User Interface). This part will be covered in Layout chapter.
  • Behavior: These are events which occur when the user interacts with UI elements. This part will be covered in Event Handling chapter.
UI classes Every AWT controls inherits properties from Component class.
Sr. No.Control & Description
1Component
A Component is an abstract super class for GUI controls and it represents an object with graphical representation.

AWT UI Elements:

Following is the list of commonly used controls while designed GUI using AWT.
Sr. No.Control & Description
1Label
A Label object is a component for placing text in a container.
2Button
This class creates a labeled button.
3Check Box
A check box is a graphical component that can be in either an on (true) or off (false) state.
4Check Box Group
The CheckboxGroup class is used to group the set of checkbox.
5List
The List component presents the user with a scrolling list of text items.
6Text Field
A TextField object is a text component that allows for the editing of a single line of text.
7Text Area
A TextArea object is a text component that allows for the editing of a multiple lines of text.
8Choice
A Choice control is used to show pop up menu of choices. Selected choice is shown on the top of the menu.
9Canvas
A Canvas control represents a rectangular area where application can draw something or can receive inputs created by user.
10Image
An Image control is superclass for all image classes representing graphical images.
11Scroll Bar
A Scrollbar control represents a scroll bar component in order to enable user to select from range of values.
12Dialog
A Dialog control represents a top-level window with a title and a border used to take some form of input from the user.
13File Dialog
A FileDialog control represents a dialog window from which the user can select a file.

No comments:

Post a Comment