Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Deep notes of Advanced Java Programming

Rating
-
Sold
1
Pages
12
Uploaded on
10-09-2021
Written in
2021/2022

There are too many books of advanced java programming are available on internet but you cannot gain whole knowledge in few days. If you purchase this notes, you got understand deep points in advanced java programming!!

Institution
Course

Content preview

Advanced Java Notes
1.1 Component, Container, window, frame, panel

➢ AWTEventMulticaster - Dispatches events to multiple listeners.
➢ Canvas - A blank, semantics-free window.
➢ Container - : A subclass of Component that can hold other
components.
➢ Cursor - : Encapsulates a bitmapped cursor.
➢ Dialog - : Creates a dialog window.
➢ Dimension - : Specifies the dimensions of an object. The width
is stored in width, and the height is stored in height.
➢ Event - : Encapsulates events.
➢ EventQueue - : Queues events.
➢ FileDialog -: Creates a window from which a file can be
selected.
➢ Font - : Encapsulates a type font.
➢ FontMetrics - : Encapsulates various information related to a
font. This information helps you display text in a window
➢ Panel The simplest concrete subclass of Container.
➢ Compoenent is an abstract class
➢ A Component object is responsible for remembering the current
foreground and background colors and the currently selected
text font.
➢ A container is responsible for laying out (that is, positioning)
any components that it contains. It does this through the use of
various layout managers

, 1.2 AWT Components and Layout Managers
➢ AWT – Abstract Windowing ToolKit
➢ Buttons in AWT are also called as Push Buttons
➢ Add() method is defined by container
➢ Remove() and RemoveAll() are the two methods defined by
container. Remove(Component obj) method is used to remove
a control of specified Component obj. And RemoveAll() is used
to Remove the controls of all components.
➢ Label is Passive Component.
➢ Label Constructors –
• Label( ) throws HeadlessException Example – Label();
• Label(String str) throws HeadlessException Example –
Label(“Aneesh”);
• Label(String str, int how) throws HeadlessException
Example – Label(“Aneesh”, Label.LEFT)
➢ There are 3 types of alignments of lables – LEFT, RIGHT,
CENTER
➢ setAlignment() is used to set alignment of the label
➢ getAlignment() is used to get alignment of the label
➢ Button() throws HeadlessException
➢ Button –: Listener - ActionListener() Method –
actionPerformed() Event - ActionEvent

Connected book

Written for

Institution
Course

Document information

Uploaded on
September 10, 2021
Number of pages
12
Written in
2021/2022
Type
Class notes
Professor(s)
Aneesh
Contains
All classes

Subjects

$3.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
EngineeringWorld

Get to know the seller

Seller avatar
EngineeringWorld Advanced Java Programming
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
4 year
Number of followers
1
Documents
1
Last sold
4 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions