Skip to content
A Swing text console component
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml Update CI config Dec 6, 2012
README.md
fonts.txt
pom.xml

README.md

swing-console

A Swing text console component, useful to provide functionality similar to a terminal in Java.

Provides a simple Java-based API for controlling the console.

Key features

  • Support for blinking cursor
  • Background and foreground with arbitrary colours
  • Supports any monospaced font
  • Can support multiple fonts in the same console
  • Ability to capture System.out

Basic usage

JConsole jc=new JConsole(80,25);
jc.setCursorVisible(true);
jc.setCursorBlink(true);
jc.write("Hello World,\n");
jc.write("Colourful World\n",Color.BLACK,Color.MAGENTA);
You can’t perform that action at this time.