News

System. out.println ((char) 27 + "[2J"); However, escape sequences are not very portable. For example, Windows NT provides an ANSI.SYS driver, but only for legacy DOS applications (which a JVM is ...