Essay about Cis 355 Ilab 6 of 6

1274 Words Aug 2nd, 2014 6 Pages
HELPIDO.COM

---------------------------------------------------
Follow this link to get the tutorial

http://helpido.com/cis-355-ilab-6-of-6/
---------------------------------------------------

CIS/355 iLab 6 of 6
________________________________________

Write a Java GUI application called Index.java that inputs several lines of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text. This program is not case sensitive and both upper and lower case must be counted for.
Sample Program output: View Output Description

Grading Rubric
Index Points Description
Standard header included 1 Must contain program's name, student name, and description of the
…show more content…
Dialog label is “Results”
2. On the left side is the information icon, which is a circle inset with the character i
3. To the right of the information icon, is the output string “Number of a’s: 3

A command button with the text “OK” is centered on the bottom of the diagram.

STEP 2: Index2 (10 points)

Write a Java GUI application Index2.java based on the program in Step 1 that inputs several lines of text and uses String method indexOf to determine the total number of occurrences of each letter of the alphabet in the text. Uppercase and lowercase letters should be counted together. Store the totals for each letter in an array, and print the values in tabular format after the totals have been determined.
Sample Program output: View Output Description
Grading Rubric
Index2 Points Description
Standard header included 1 Must contain program's name, student name, and description of the program
Program compiles 1 Program does not have any error
Program executes 1 Program runs without any error
Correct GUI interface is created 3 Program contains a text area for text input, text area for character count, a button, and the appropriate labels
Correct output is displayed 4 Program displays the correct count for both upper and lower case of each letter of the alphabet
Subtotal 10

OUTPUT DESCRIPTION ABOVE:

Step 2 Sample Program Output

The

Related Documents