Lecture-2-Basics-of-Java
Lecture-2-Basics-of-Java
SLIDESMANIA.COM
JFrame control:
Component - typically a JFrame or null. If null, the dialog is centered on the screen.
Message - the message to be displayed in the dialog.
title - the title of the dialog. It is displayed in the title bar of the
dialog window.
messageType - is an integer constant representing the type of the
message. It determines the icon and visual style of the dialog.
SLIDESMANIA.COM
Dialog Box / Message Box
Common message types: