Skip to content

flemming-n-larsen/java-swing-ansi-support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANSI Support classes for Java Swing

It supports basic ANSI escape code styles and colors, but not all escape codes for various reasons.

Classes and interfaces are provided for both Java and Kotlin. These classes are useful for creating a "text terminal" in editor panes using a monospaced font and basic ANSI styles and colors to give it a look and feel like a real terminal.

Here is a demo of how a JEditorPane can be styled by using an AnsiEditorKit, which is a EditorKit used to create styled documents based on ANSI escape code.

Screen shot of the AnsiDemoFrame

Releases

No releases published

Packages

No packages published