|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.Writer | +--java.io.PrintWriter | +--haifa.shopsim.lab.LogWindow
This class is a PrintWriter that prints the output to it's own window, it runs on it's own thread and uses a pipe to get the data.
Field Summary | |
protected java.io.BufferedReader |
bufferedReader
|
protected javax.swing.JFrame |
frame
|
protected java.lang.Thread |
t
|
protected javax.swing.JTextArea |
textArea
|
Fields inherited from class java.io.PrintWriter |
autoFlush, lineSeparator, out, trouble |
Fields inherited from class java.io.Writer |
lock, writeBuffer, writeBufferSize |
Constructor Summary | |
LogWindow(java.io.PipedWriter stupidParam,
java.lang.String windowName,
boolean visible)
Always give this co'transient a brand new PipedWriter. |
Method Summary | |
void |
activate()
Startts Log Window |
void |
destroy()
|
void |
run()
|
void |
setVisible(boolean visible)
|
Methods inherited from class java.io.PrintWriter |
checkError, close, ensureOpen, flush, newLine, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected javax.swing.JFrame frame
protected javax.swing.JTextArea textArea
protected java.lang.Thread t
protected java.io.BufferedReader bufferedReader
Constructor Detail |
public LogWindow(java.io.PipedWriter stupidParam, java.lang.String windowName, boolean visible)
Method Detail |
public void setVisible(boolean visible)
public void activate()
public void destroy()
public void run()
run
in interface java.lang.Runnable
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |