Below is the syntax highlighted version of Text3D.java from § Standard Draw 3D.
public class Text3D { public static void main(String[] args) { StdDraw3D.setScale(-0.05, 0.3); StdDraw3D.text3D(0, 0, 0, "3D Text!"); StdDraw3D.finished(); } }