StringIntro

StringIntro - Color color) { GLabel lab = new GLabel(text);

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

View Full Document Right Arrow Icon
String name = "Mary Smith"; int age = 21; String str = "Name: " + name + ", Age: " + age; String line = readLine("Name: "); private GLabel coloredLabel(String text,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Color color) { GLabel lab = new GLabel(text); lab.setColor(color); return lab; } Strings...
View Full Document

This note was uploaded on 10/12/2010 for the course CS 106A at Stanford.

Ask a homework question - tutors are online