Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 980 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 980 Bytes

JScreen

JScreen is a Java Swing component which provides a text screen display.

It was conceived to enable porting old DOS programs to a modern cross-platform environment, while retaining their original look and feel. But it was also designed to enable non-PC text modes, given suitable fonts and character mapping.

Usage

Getting started is this simple:

import net.digger.ui.screen.JScreen;

public class HelloWorld {
	public static void main(String[] args) {
		JScreen screen = JScreen.createJScreenWindow();
		screen.print("Hello world.");
	}
}

The JScreenDemo and DisplayANSI sample programs show off some more of what JScreen can do. And, of course, the source is available to learn every nuance.

Maven configuration

	<dependency>
		<groupId>net.digger</groupId>
		<artifactId>jscreen</artifactId>
		<version>1.2.0</version>
	</dependency>

License

JScreen is provided under the terms of the GNU Lesser General Public License v3.0 (LGPLv3).