Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.JApplet;
- import java.awt.Graphics;
- import java.awt.Graphics2D;
- public class HelloWorld4 extends JApplet
- {
- public void paint(Graphics g)
- {
- Graphics2D g2 = (Graphics2D) g;
- g2.drawString("Hello, Dave!!!",50,100);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement