4.1. Textual Interfaces
Our example application provided a text-based, character-mode interface that was displayed to the terminal device from which the program was launched. This type of interface is one of the easiest to whip up during development, and also can be of aid in debugging because you can sprinkle println()s throughout your code.
Java has had a graphical user interface, in the form of the Abstract Windowing Toolkit (AWT), since JDK 1.0. This user interface was then greatly enhanced and expanded with the introduction of Java Foundation Classes (JFC) in JDK 1.2. But beginning in Java 2 SDK 1.4, Java also supports “headless” implementations of the SDK, which means that vendors that do not typically support graphical interfaces (such ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access