These questions are for Java 1 name of Java class with metho

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

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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site