View RSS Feed

Java Swing

How to Make Frames (Main Windows)

Rate this Entry
by , 04-26-2012 at 09:50 PM (782 Views)
Frame is considered to be a top leveled window that has a border and a title. Frame size consist of any area which has been designated for sake of border. Border area dimensions might be obtained by method getInsets. Border area is also present in frame’s overall size so frame’s portion is obscured effectively, which constraint the area present to render or display the subcomponents, to that rectangle which consists of location of upper left corner (insets.left,, and width size (insets.left + insets.right and height ( + insets.bottom).

Frame which has been implemented as the JFrame class’s instance, is basically window which consists of decorations like title, border. Support is provided to the button components which iconify or close the window. Appilcations along with GUI consist of 1 frame at least. Frames are also used by applets, sometimes.

For making a wondow which is another window dependent- disappearing in case when some other window gets iconified. For example, dialog usage rather than frame. For making window that is visible in another window, an internal frame shall be used.

Submit "How to Make Frames (Main Windows)" to Facebook Submit "How to Make Frames (Main Windows)" to Digg Submit "How to Make Frames (Main Windows)" to Submit "How to Make Frames (Main Windows)" to StumbleUpon Submit "How to Make Frames (Main Windows)" to Google

Tags: main windows Add / Edit Tags