Math, asked by thathiyainsiyah, 19 days ago

2. How do you create a new font in applets?​

Answers

Answered by kashishnaamdev84
2

Step-by-step explanation:

To Change The Font Style Using Font Class In

Applet Using Java Program

import java.awt.*;

import java.applet.*;

public class fon extends Applet.

{

Font f1,f2,f3;

public void init()

{

f1 = new Font("Arial",Font.BOLD,18);

Similar questions