What is the best way to display ASCII in a panel grid using Java?

I don't have much experience with Java, but I'm trying to write a simple rogue game to get to know it, and I'm just wondering how I'm going to create such an interface:

A screen from JADE by Thomas Biskup Are there any obvious ways you will do something similar? Being new to Java, I really don't know what the best method would be.

Sorry that is vague!

thank

+5
source share
2 answers

JDK () - , JTextArea ASCII-Art ( ). , ( 7- US-ASCII). , (, , escape-, ), , Java, .

Java ASCII ( stdout).

: ASCII () HTML HTML JLabel. , , , ( ). , JLabel.setText(), , HTML. JLabel HTML.

+4

Trystan Ascii Panel, roguelike .

+2

All Articles