import java.awt.*; import java.applet.*; public class AppletTest extends Applet{ String str; int x,y; public void init(){ x=y=40; str="HelloText"; } public void paint (Graphics g){ Font f = new Font("Segoe UI",Font.BOLD,25); g.setFont(f); g.setColor(Color.blue); g.drawString(str,x,y); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)