A method for grouping a plurality of application windows, the method comprising steps of: displaying a first application window and a second application window on a display screen, the first and the second application windows being in an open state; displaying a first taskbar button corresponding to the first application window and a second taskbar button corresponding to the second application window in a taskbar area on the display screen; declaring the first application window and the second application window as a first group by creating a relationship between the windows, the second application window being independent of and external to the first application window; grouping the first application window and the second window into the first group; displaying the first group as a first representation on the display screen; removing the first and the second application windows on the display screen upon displaying the first group; removing the first and the second taskbar buttons in the taskbar area on the display screen upon displaying the first group; displaying a third application window and a fourth application window, the third application window and the fourth application window being in an open state; displaying a third and a fourth taskbar button corresponding to the third and fourth application window in the taskbar area on the display screen; automatically declaring the third application window and the fourth application window as a second group by creating a relationship between the windows in response to receiving an input to retrieve the first application window and the second application window from the first group; grouping the third application window and the fourth application window as the second group; restoring the first application window and the second application window to an open state on the display screen in response to the input; restoring the first and the second taskbar buttons in the taskbar area on the display screen in response to the input; displaying the second group as a second representation on the display screen; removing the third application window and the fourth application window from the display screen when first application window and the second application window are restored, and removing the third taskbar button and the fourth taskbar button from the taskbar area on the display screen when the first and second taskbar buttons are restored. displaying a first application window and a second application window on a display screen, the first and the second application windows being in an open state; displaying a first taskbar button corresponding to the first application window and a second taskbar button corresponding to the second application window in a taskbar area on the display screen; declaring the first application window and the second application window as a first group by creating a relationship between the windows, the second application window being independent of and external to the first application window; grouping the first application window and the second window into the first group; displaying the first group as a first representation on the display screen; removing the first and the second application windows on the display screen upon displaying the first group; removing the first and the second taskbar buttons in the taskbar area on the display screen upon displaying the first group; displaying a third application window and a fourth application window, the third application window and the fourth application window being in an open state; displaying a third and a fourth taskbar button corresponding to the third and fourth application window in the taskbar area on the display screen; automatically declaring the third application window and the fourth application window as a second group by creating a relationship between the windows in response to receiving an input to retrieve the first application window and the second application window from the first group; grouping the third application window and the fourth application window as the second group; restoring the first application window and the second application window to an open state on the display screen in response to the input; restoring the first and the second taskbar buttons in the taskbar area on the display screen in response to the input; displaying the second group as a second representation on the display screen; removing the third application window and the fourth application window from the display screen when first application window and the second application window are restored, and removing the third taskbar button and the fourth taskbar button from the taskbar area on the display screen when the first and second taskbar buttons are restored.