Long description

The output displays 4 windows and their corresponding message dialog box. The first and second windows titled, testing buttons display the plain buttons and fancy buttons with icons. The dialog box titled, message displays the information message icon and a text, you pressed plain button with ok button at the bottom. The third and fourth windows titled, testing buttons display the plain buttons and fancy buttons with icons. The mouse pointers are placed over the fancy button. The dialog box titled, message displays the information message icon and a text, you pressed fancy button with ok button at the bottom. A mouse pointer is placed over the ok button.

Get Java How to Program, Early Objects, 11th 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.