HelloApplet
the line:
import javas.swing.*;should read:
import javax.swing.*;
twoToEnd
is badly named.
The easiest way to make it make the code make sense is to
change the line:
String twoToEnd = nums.substring(4);to:
String twoToEnd = nums.substring(2);The output then would replace the line:
twoToEnd: 456789with:
twoToEnd: 23456789
CopyFile
method
"classis Mac style" should read "classic Mac style"RadioButtonMenu
program so that it displays grade
ranges for each
possible letter grade. Use the ranges from project 8 in Chapter 5. When
the user clicks on a specific button, a label describing the corresponding
grade range is displayed.MyGrep
program. A more reasonable message would be:
public static String usage = "Usage: java MyGrep searchString fileName";
Last modified: 3/31/11, WKA