GrandWelcomeLine

GrandWelcomeLine - .drawLine(10, 10, 10, 40); //left line...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
G //grandWelcomeLine Applet / import java.awt.*; import javax.swin±.JApplet; i public class grandWelcomeLine extends JApplet { public void paint( graphics ±) { super.paint(±); ±.setColor(Color.red); ±.setFont(new Font("Courier", Font.BOLD, 24)); ±.drawStrin±("Welcome to Java Pro±rammin±", 30, 30);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: .drawLine(10, 10, 10, 40); //left line .drawLine(10, 40, 430, 40); //bottom line .drawLine(430, 40, 430, 10); //riht line .drawLine(430, 10, 10, 10); //top line } }...
View Full Document

This note was uploaded on 06/17/2011 for the course COMP 2301 taught by Professor Staff during the Spring '10 term at Kennesaw.

Ask a homework question - tutors are online