GUI Continued: SEED Infotech Pvt. LTD
GUI Continued: SEED Infotech Pvt. LTD
Constructors -
Dialog(Frame parent, String title)
Dialog(Frame parent, String title, boolean
modal)
Some methods -
isModal() - indicates if the dialog is modal.
show() shows the dialog.
Principle:
Don’t make one object responsible for too much.
Instead, associate the look & feel of component with one
object & store the contents in another object.
The controller functions are responsible for connecting user
actions to the model & views.
Allows the programmer to change the look & feel of an
interface without changing the behavior of the underlying
model.