Chapter 20
Oooey-GUI Was a Worm
IN THIS CHAPTER
Swinging into action
Displaying an image
Using buttons and text boxes
Have you ever heard that wonderful old joke about a circus acrobat jumping over mice? Unfortunately, I’d get sued for copyright infringement if I included the joke in this book.
Anyway, the joke is about starting small and working your way up to bigger things. That’s what you do when you read Beginning Programming with Java For Dummies, 6th Edition.
Most of the examples in this book are command line programs. A command line program has no windows, no dialog boxes — nothing of that kind. With a command line program, the user types characters in Console view, and the program displays output in the same Console view.
These days, few publicly available programs are command line. Almost all programs use a GUI — a graphical user interface. So if you’ve read every word of this book so far, you’re probably saying to yourself, “When am I going to find out how to create a GUI?”
Well, now's the time! This chapter introduces you to the world of GUI programming in Java.
Get Beginning Programming with Java For Dummies, 6th 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.