ItemRenderer class provides Item rendering facilities. The main motivation behind this change is to extract code that can be used to render both normal windows as well as the cursor.