New answers tagged

1

Example for an IndexColorModel. /* START */ public static final class GUI { public static final Color BLACK = new Color(0x00, 0x00, 0x00); public static final Color MAROON = new Color(0x80, 0x00, 0x00); public static final Color GREEN = new Color(0x00, 0x80, 0x00); public static final Color OLIVE = new Color(0x80, 0x80, 0x00); ...


1

You could either use the real Java console, but that would mean you have to recreate your entire application. If you really insist to use Swing, I would do it in another way. Create some custom print() methode for printing ASCII-symbols into a buffered-image, scale this image and use it as background for just a single AWT/Swing component. After that you ...


Top 50 recent answers are included