SlideShare a Scribd company logo
These questions are for Java.
1. name of Java class with methods and constants for manipulating the style and size of
characters?
2. name of method to be called when GUI components need to be refreshed?
3. code that performs a task in response to an event?
4. link a GUI component to an event handler (one word answer)
Solution
1)we hava class called Font in java.awt package
in that these are the constants which will change the size and style of th text
i)BOLD
ii)ITALIC
iii)PLAIN
and there is constructor called
i)Font(String name,int style,int size) which is change your text size and
method
ii)public Font deriveFont(int style, AffineTransform trans)
2)repaint() which calls the paint method affter changes have done

More Related Content

More from isenbergwarne4100

1) Name the seven layers of the OSI network model, and 2) enumerate .pdf
1) Name the seven layers of the OSI network model, and 2) enumerate .pdf1) Name the seven layers of the OSI network model, and 2) enumerate .pdf
1) Name the seven layers of the OSI network model, and 2) enumerate .pdf
isenbergwarne4100
 
8. Eenee, Meanie, and Miney each have a capital balance of $84,000 i.pdf
8. Eenee, Meanie, and Miney each have a capital balance of $84,000 i.pdf8. Eenee, Meanie, and Miney each have a capital balance of $84,000 i.pdf
8. Eenee, Meanie, and Miney each have a capital balance of $84,000 i.pdf
isenbergwarne4100
 
[Python] [Singly-linked list] [Element insertion] Consider the follo.pdf
[Python] [Singly-linked list] [Element insertion] Consider the follo.pdf[Python] [Singly-linked list] [Element insertion] Consider the follo.pdf
[Python] [Singly-linked list] [Element insertion] Consider the follo.pdf
isenbergwarne4100
 
why Cu, Pb, and Sn were metals used in early civilizations Solu.pdf
why Cu, Pb, and Sn were metals used in early civilizations Solu.pdfwhy Cu, Pb, and Sn were metals used in early civilizations Solu.pdf
why Cu, Pb, and Sn were metals used in early civilizations Solu.pdf
isenbergwarne4100
 
Which scenario is the least likely to be supported by the theory of .pdf
Which scenario is the least likely to be supported by the theory of .pdfWhich scenario is the least likely to be supported by the theory of .pdf
Which scenario is the least likely to be supported by the theory of .pdf
isenbergwarne4100
 
What is the difference between neurotransmitters and neuropeptides .pdf
What is the difference between neurotransmitters and neuropeptides  .pdfWhat is the difference between neurotransmitters and neuropeptides  .pdf
What is the difference between neurotransmitters and neuropeptides .pdf
isenbergwarne4100
 
5) The US government is spying on Switzerland. They believe Switzerl.pdf
5) The US government is spying on Switzerland. They believe Switzerl.pdf5) The US government is spying on Switzerland. They believe Switzerl.pdf
5) The US government is spying on Switzerland. They believe Switzerl.pdf
isenbergwarne4100
 
To qualify for the partial exclusion of gain on the sale or exchange.pdf
To qualify for the partial exclusion of gain on the sale or exchange.pdfTo qualify for the partial exclusion of gain on the sale or exchange.pdf
To qualify for the partial exclusion of gain on the sale or exchange.pdf
isenbergwarne4100
 
The United States Central Intelligence Agency, FBI, and National Sec.pdf
The United States Central Intelligence Agency, FBI, and National Sec.pdfThe United States Central Intelligence Agency, FBI, and National Sec.pdf
The United States Central Intelligence Agency, FBI, and National Sec.pdf
isenbergwarne4100
 
The study of consumer choose one brand over another and how they make.pdf
The study of consumer choose one brand over another and how they make.pdfThe study of consumer choose one brand over another and how they make.pdf
The study of consumer choose one brand over another and how they make.pdf
isenbergwarne4100
 
Survivin Monomer Plays an Essential Role in Apoptosis Regulation Mar.pdf
Survivin Monomer Plays an Essential Role in Apoptosis Regulation Mar.pdfSurvivin Monomer Plays an Essential Role in Apoptosis Regulation Mar.pdf
Survivin Monomer Plays an Essential Role in Apoptosis Regulation Mar.pdf
isenbergwarne4100
 
statistics Which is not true of p-values Select one When they are.pdf
statistics Which is not true of p-values Select one  When they are.pdfstatistics Which is not true of p-values Select one  When they are.pdf
statistics Which is not true of p-values Select one When they are.pdf
isenbergwarne4100
 
Summarize the article Towards an Aesthetic of popular music by S.pdf
Summarize the article Towards an Aesthetic of popular music by S.pdfSummarize the article Towards an Aesthetic of popular music by S.pdf
Summarize the article Towards an Aesthetic of popular music by S.pdf
isenbergwarne4100
 
public void turnRight(double degrees) {rotationInDegrees + - = deg.pdf
public void turnRight(double degrees) {rotationInDegrees + - = deg.pdfpublic void turnRight(double degrees) {rotationInDegrees + - = deg.pdf
public void turnRight(double degrees) {rotationInDegrees + - = deg.pdf
isenbergwarne4100
 
Put the following alphabetically listed structures in order for the p.pdf
Put the following alphabetically listed structures in order for the p.pdfPut the following alphabetically listed structures in order for the p.pdf
Put the following alphabetically listed structures in order for the p.pdf
isenbergwarne4100
 
1-Which law of Mendels does the monohybrid cross demonstrate, and .pdf
1-Which law of Mendels does the monohybrid cross demonstrate, and .pdf1-Which law of Mendels does the monohybrid cross demonstrate, and .pdf
1-Which law of Mendels does the monohybrid cross demonstrate, and .pdf
isenbergwarne4100
 
PLEASE ANSWER THE QUESTIONS IN BOLD In a certain Midwest city, a se.pdf
PLEASE ANSWER THE QUESTIONS IN BOLD In a certain Midwest city, a se.pdfPLEASE ANSWER THE QUESTIONS IN BOLD In a certain Midwest city, a se.pdf
PLEASE ANSWER THE QUESTIONS IN BOLD In a certain Midwest city, a se.pdf
isenbergwarne4100
 
Menders experiments were conducted using garden peas. Why would human.pdf
Menders experiments were conducted using garden peas. Why would human.pdfMenders experiments were conducted using garden peas. Why would human.pdf
Menders experiments were conducted using garden peas. Why would human.pdf
isenbergwarne4100
 
List or describe one feature that represents convergent evolution th.pdf
List or describe one feature that represents convergent evolution th.pdfList or describe one feature that represents convergent evolution th.pdf
List or describe one feature that represents convergent evolution th.pdf
isenbergwarne4100
 
Integral membrane proteins that exhibit an intrinsic activity of hyd.pdf
Integral membrane proteins that exhibit an intrinsic activity of hyd.pdfIntegral membrane proteins that exhibit an intrinsic activity of hyd.pdf
Integral membrane proteins that exhibit an intrinsic activity of hyd.pdf
isenbergwarne4100
 

More from isenbergwarne4100 (20)

1) Name the seven layers of the OSI network model, and 2) enumerate .pdf
1) Name the seven layers of the OSI network model, and 2) enumerate .pdf1) Name the seven layers of the OSI network model, and 2) enumerate .pdf
1) Name the seven layers of the OSI network model, and 2) enumerate .pdf
 
8. Eenee, Meanie, and Miney each have a capital balance of $84,000 i.pdf
8. Eenee, Meanie, and Miney each have a capital balance of $84,000 i.pdf8. Eenee, Meanie, and Miney each have a capital balance of $84,000 i.pdf
8. Eenee, Meanie, and Miney each have a capital balance of $84,000 i.pdf
 
[Python] [Singly-linked list] [Element insertion] Consider the follo.pdf
[Python] [Singly-linked list] [Element insertion] Consider the follo.pdf[Python] [Singly-linked list] [Element insertion] Consider the follo.pdf
[Python] [Singly-linked list] [Element insertion] Consider the follo.pdf
 
why Cu, Pb, and Sn were metals used in early civilizations Solu.pdf
why Cu, Pb, and Sn were metals used in early civilizations Solu.pdfwhy Cu, Pb, and Sn were metals used in early civilizations Solu.pdf
why Cu, Pb, and Sn were metals used in early civilizations Solu.pdf
 
Which scenario is the least likely to be supported by the theory of .pdf
Which scenario is the least likely to be supported by the theory of .pdfWhich scenario is the least likely to be supported by the theory of .pdf
Which scenario is the least likely to be supported by the theory of .pdf
 
What is the difference between neurotransmitters and neuropeptides .pdf
What is the difference between neurotransmitters and neuropeptides  .pdfWhat is the difference between neurotransmitters and neuropeptides  .pdf
What is the difference between neurotransmitters and neuropeptides .pdf
 
5) The US government is spying on Switzerland. They believe Switzerl.pdf
5) The US government is spying on Switzerland. They believe Switzerl.pdf5) The US government is spying on Switzerland. They believe Switzerl.pdf
5) The US government is spying on Switzerland. They believe Switzerl.pdf
 
To qualify for the partial exclusion of gain on the sale or exchange.pdf
To qualify for the partial exclusion of gain on the sale or exchange.pdfTo qualify for the partial exclusion of gain on the sale or exchange.pdf
To qualify for the partial exclusion of gain on the sale or exchange.pdf
 
The United States Central Intelligence Agency, FBI, and National Sec.pdf
The United States Central Intelligence Agency, FBI, and National Sec.pdfThe United States Central Intelligence Agency, FBI, and National Sec.pdf
The United States Central Intelligence Agency, FBI, and National Sec.pdf
 
The study of consumer choose one brand over another and how they make.pdf
The study of consumer choose one brand over another and how they make.pdfThe study of consumer choose one brand over another and how they make.pdf
The study of consumer choose one brand over another and how they make.pdf
 
Survivin Monomer Plays an Essential Role in Apoptosis Regulation Mar.pdf
Survivin Monomer Plays an Essential Role in Apoptosis Regulation Mar.pdfSurvivin Monomer Plays an Essential Role in Apoptosis Regulation Mar.pdf
Survivin Monomer Plays an Essential Role in Apoptosis Regulation Mar.pdf
 
statistics Which is not true of p-values Select one When they are.pdf
statistics Which is not true of p-values Select one  When they are.pdfstatistics Which is not true of p-values Select one  When they are.pdf
statistics Which is not true of p-values Select one When they are.pdf
 
Summarize the article Towards an Aesthetic of popular music by S.pdf
Summarize the article Towards an Aesthetic of popular music by S.pdfSummarize the article Towards an Aesthetic of popular music by S.pdf
Summarize the article Towards an Aesthetic of popular music by S.pdf
 
public void turnRight(double degrees) {rotationInDegrees + - = deg.pdf
public void turnRight(double degrees) {rotationInDegrees + - = deg.pdfpublic void turnRight(double degrees) {rotationInDegrees + - = deg.pdf
public void turnRight(double degrees) {rotationInDegrees + - = deg.pdf
 
Put the following alphabetically listed structures in order for the p.pdf
Put the following alphabetically listed structures in order for the p.pdfPut the following alphabetically listed structures in order for the p.pdf
Put the following alphabetically listed structures in order for the p.pdf
 
1-Which law of Mendels does the monohybrid cross demonstrate, and .pdf
1-Which law of Mendels does the monohybrid cross demonstrate, and .pdf1-Which law of Mendels does the monohybrid cross demonstrate, and .pdf
1-Which law of Mendels does the monohybrid cross demonstrate, and .pdf
 
PLEASE ANSWER THE QUESTIONS IN BOLD In a certain Midwest city, a se.pdf
PLEASE ANSWER THE QUESTIONS IN BOLD In a certain Midwest city, a se.pdfPLEASE ANSWER THE QUESTIONS IN BOLD In a certain Midwest city, a se.pdf
PLEASE ANSWER THE QUESTIONS IN BOLD In a certain Midwest city, a se.pdf
 
Menders experiments were conducted using garden peas. Why would human.pdf
Menders experiments were conducted using garden peas. Why would human.pdfMenders experiments were conducted using garden peas. Why would human.pdf
Menders experiments were conducted using garden peas. Why would human.pdf
 
List or describe one feature that represents convergent evolution th.pdf
List or describe one feature that represents convergent evolution th.pdfList or describe one feature that represents convergent evolution th.pdf
List or describe one feature that represents convergent evolution th.pdf
 
Integral membrane proteins that exhibit an intrinsic activity of hyd.pdf
Integral membrane proteins that exhibit an intrinsic activity of hyd.pdfIntegral membrane proteins that exhibit an intrinsic activity of hyd.pdf
Integral membrane proteins that exhibit an intrinsic activity of hyd.pdf
 

Recently uploaded

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
Chevonnese Chevers Whyte, MBA, B.Sc.
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 

Recently uploaded (20)

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 

These questions are for Java.1. name of Java class with methods an.pdf

  • 1. These questions are for Java. 1. name of Java class with methods and constants for manipulating the style and size of characters? 2. name of method to be called when GUI components need to be refreshed? 3. code that performs a task in response to an event? 4. link a GUI component to an event handler (one word answer) Solution 1)we hava class called Font in java.awt package in that these are the constants which will change the size and style of th text i)BOLD ii)ITALIC iii)PLAIN and there is constructor called i)Font(String name,int style,int size) which is change your text size and method ii)public Font deriveFont(int style, AffineTransform trans) 2)repaint() which calls the paint method affter changes have done