The gui package consists of several classes that capture useful graphical user interface functionality whose implementation is complicated or requires detailed knowledge of swing that most people would rather not know.