IDE Support for GUI Design

Many IDEs provide GUI design tools with which you can specify a component’s size, location and other attributes in a visual manner by using the mouse, the keyboard and drag-and-drop. The IDEs generate the GUI code for you. This greatly simplifies creating GUIs, but each IDE generates this code differently. For this reason, we wrote the GUI code by hand, as you’ll see in the source-code files for this chapter’s examples. We encourage you to build each GUI visually using your preferred IDE(s).

Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.