A JFC/Swing based console for the BeanShell desktop.
This is a descendant of the old AWTConsole.
Improvements by: Mark Donszelmann <Mark.Donszelmann@cern.ch>
including Cut & Paste
Improvements by: Daniel Leuck
including Color and Image support, key press bug workaround
actionPerformed
public void actionPerformed(ActionEvent event)
getInputStream
public InputStream getInputStream()
getStyle
public AttributeSet getStyle()
keyPressed
public void keyPressed(KeyEvent e)
keyReleased
public void keyReleased(KeyEvent e)
keyTyped
public void keyTyped(KeyEvent e)
mouseClicked
public void mouseClicked(MouseEvent event)
mouseEntered
public void mouseEntered(MouseEvent event)
mouseExited
public void mouseExited(MouseEvent event)
mousePressed
public void mousePressed(MouseEvent event)
mouseReleased
public void mouseReleased(MouseEvent event)
print
public void print(Icon icon)
print
public void print(Object object)
Prints the primitive type "float"
(needed because of float->double
coercion weirdness)
public void println(float f) {
println(String.valueOf(f));
}
print
public void print(Object s,
Color color)
print
public void print(Object s,
Font font)
Prints the primitive type "float"
(needed because of float->double
coercion weirdness)
public void print(float f) {
print(String.valueOf(f));
}
print
public void print(Object s,
Font font,
Color color)
print
public void print(Object s,
String fontFamilyName,
int size,
Color color)
print
public void print(Object s,
String fontFamilyName,
int size,
Color color,
boolean bold,
boolean italic,
boolean underline)
println
public void println()
Prints "\\n" (i.e. newline)
println
public void println(Icon icon)
println
public void println(Object object)
propertyChange
public void propertyChange(PropertyChangeEvent event)
requestFocus
public void requestFocus()
setFont
public void setFont(Font font)
setStyle
public void setStyle(AttributeSet attributes)
setStyle
public void setStyle(AttributeSet attributes,
boolean overWrite)
setStyle
public AttributeSet setStyle(Color color)
setStyle
public AttributeSet setStyle(Font font)
setStyle
public AttributeSet setStyle(Font font,
Color color)
setStyle
public AttributeSet setStyle(String fontFamilyName,
int size,
Color color)
setStyle
public AttributeSet setStyle(String fontFamilyName,
int size,
Color color,
boolean bold,
boolean italic,
boolean underline)
toString
public String toString()