Java  1.0
Classes | Public Member Functions | Private Member Functions | List of all members
TextIOApplet.Console Class Reference

A "Console" is a panel which simulates standard input/output. More...

Inheritance diagram for TextIOApplet.Console:
Inheritance graph
[legend]
Collaboration diagram for TextIOApplet.Console:
Collaboration graph
[legend]

Classes

class  CIN
 
class  COUT
 

Public Member Functions

void paintComponent (Graphics g)
 

Private Member Functions

synchronized void putString (String str)
 

Detailed Description

A "Console" is a panel which simulates standard input/output.

When this GUI TextIO class is used, a frame will be opened that displays a Console. When the output destination for TextIO is standard output, the output will appear in the window. When TextIO wants to fill its buffer with a line of input from standard input, the user will type a line of input in the Console, which will go into the buffer. There is also a scroll bar that can be used to browse lines that have scrolled off the top (up to 2000 lines).

Definition at line 1264 of file TextIOApplet.java.

Member Function Documentation

◆ paintComponent()

void TextIOApplet.Console.paintComponent ( Graphics  g)

Definition at line 1337 of file TextIOApplet.java.

◆ putString()

synchronized void TextIOApplet.Console.putString ( String  str)
private

Definition at line 1406 of file TextIOApplet.java.

Referenced by TextIOApplet.ProgRun.run().


The documentation for this class was generated from the following file: