Constructs a new frame in the specified GraphicsConfiguration and
the specified title.
Parameters: title - - title of the frame; if title is null, an empty titleis assumed Parameters: gc - - the GraphicsConfiguration to construct the frame;if gc is null, the system default GraphicsConfiguration is assumed
Constructs a new frame with the specified title which is initially
invisible.
Parameters: title - - title of the frame; if title is null, an empty titleis assumed throws: HeadlessException - - when GraphicsEnvironment.isHeadless()returns true
Constructs a new frame in the specified GraphicsConfiguration and
an empty title.
Parameters: gc - - the GraphicsConfiguration to construct the frame;if gc is null, the system default GraphicsConfiguration is assumed
Constructs a new frame with an empty title which is initially invisible.
throws: HeadlessException - - when GraphicsEnvironment.isHeadless()returns true
Just calls paint(g). This method was overridden to prevent
an unnecessary call to clear the background.
Parameters: g - - the graphics context to paint