How I can make a subclass of JFrame that can double in size. Has these additional methods: doubleSize(): double this window's size (both height and width). and ResizingWindow: a subclass of JFrame that can be resized in several different ways. Has these additional methods: setSizeToLocation(): set this window's width to this window's X coordinate, and set this window's height to this window's Y coordinate. enlarge(int dW, int dH): add dW to this window's width, and add dH to this window's height. swapOrientation(): set this window's width to the height and the height to the width. int getArea(): return this window's area (width times height). I am doing but many difficuty.... Help me..