edu.stanford.math.plex
public class PlexMessageWindow extends java.lang.Object
PlexMessageWindow
instance is a scrollable text window in
which we can insert messages.Modifier and Type | Field and Description |
---|---|
protected javax.swing.text.StyleContext |
context |
protected javax.swing.text.StyledDocument |
document |
protected javax.swing.JFrame |
frame |
protected javax.swing.JScrollPane |
scrollPane |
protected javax.swing.text.Style |
style |
protected javax.swing.JTextPane |
textPane |
Constructor and Description |
---|
PlexMessageWindow(java.lang.String title)
Create a new PlexMessageWindow with the given title.
|
Modifier and Type | Method and Description |
---|---|
void |
message(java.lang.String messageString)
Print a message string in the window.
|
protected javax.swing.JFrame frame
protected javax.swing.text.StyledDocument document
protected javax.swing.text.StyleContext context
protected javax.swing.text.Style style
protected javax.swing.JTextPane textPane
protected javax.swing.JScrollPane scrollPane