net.sf.turkey

Class GUI.JTextPanel

Enclosing Class:
GUI

protected class GUI.JTextPanel
extends JPanel

Simple panel with text.

Field Summary

protected JScrollPane
scroller

Constructor Summary

JTextPanel(String resource)
Loads and displays some text from external file.

Method Summary

protected String
getFileContents(String fileName)
Returns the contents of a file.

Field Details

scroller

protected JScrollPane scroller

Constructor Details

JTextPanel

public JTextPanel(String resource)
Loads and displays some text from external file.

Method Details

getFileContents

protected String getFileContents(String fileName)
Returns the contents of a file.