TextStats - /* / TextStats.java Author: Lewis/Loftus / /...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
//******************************************************************** // TextStats.java Author: Lewis/Loftus // // Simple tool for calculating basic statistics for a segment of text. //******************************************************************** / import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.StringTokenizer; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JTextArea; import javax.swing.JScrollPane; import javax.swing.border.TitledBorder; i public class TextStats extends JFrame implements ActionListener { //---------------------------------------------------------------- // TextArea for text input //---------------------------------------------------------------- private JTextArea text = null; //---------------------------------------------------------------- // Label for word count
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

TextStats - /* / TextStats.java Author: Lewis/Loftus / /...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online