Associated article: The Java Abstract Window Toolkit
Published source code examples accompanying Anil Hemrajani's article in which he examines the Java Abstract Window Toolkit (AWT), a portable GUI class library for developing applications and applets. He then builds a text-editor application for Windows 95 and Solaris, along with an applet for Windows 95. Also see JTXTEDIT.ZIP.
The Java Abstract Window Toolkit by Anil Hemrajani Example 1: cs = new Choice(); cbb = new Checkbox("Bold"); buttonPanel = new Panel(); buttonPanel.add(new Button(MI_NEW)); ta = new TextArea(30, 80); Menu fm = new Menu("File"); fm.add(new ...