View RSS Feed

Recent Blogs Posts

  1. Internal Frames Performance tip

    by , 04-26-2012 at 08:55 PM
    When various internal frames are present in a desktop, it might be noticed by the user that they move slowly. This problem could be avoided by using outline dragging. With help of outline dragging, just internal frame’s outline is painted at the current position of mouse while internal frame dragging. Innards of internal frames couldn’t be repainted, at new positions, unless dragging is stopped. Default behavior known as live dragging is to repaint or reposition few or all internal frames in a continuous ...
  2. Rules of Using Internal Frames

    by , 04-26-2012 at 08:54 PM
    If any programs have been built by the help of JFrame or other components of the Swing, then already you are having enough knowledge that how internal frames could be used. Rules to use the internal frames have been summarized in the given list:

    Internal frame’s size shall be set:
    If internal frame’s size is not set, then it will never become visible due to its zero size. Size can be obtained by one of the given methods: setBounds, pack or setSize.

    Internal frame’s ...
  3. Internal Frames vs. Regular Frames

    by , 04-26-2012 at 08:53 PM
    Code that is used for internal frames and regular swing frames is very similar, in variety of ways. Root panes are present in internal frames which are used to setup GUIs, for JInternalFrame that is quite same as the GUI setup, for JFrame. Other APIs are also provided by the JInternalFrames which makes it just like JFrame.

    Internal frames are not top level or windows container, but this makes them to differ from frames. Let us say for example, an internal frame shall be added to a ...
  4. How to Use Internal Frames

    by , 04-26-2012 at 08:52 PM
    A JFrame could be displayed by the JInternalFrame. Usually internal frames are added to the the desktop. Desktop pan might be used for the JFrame’s content pane. Desktop is JDesktopPane’s instance that is basically the JLayeredPane subclass which made API addition for management of various overlapped internal frames.

    Carefully it shall be considered that either GUI of your program could be based around internal frames or frames. To make a switch from internal frames towards frames, ...