How to create multi-frame window

What I want to do is to create a regular application window that has three frames, all divided by shared borders. To further explain what I need, please envision your typical mail client. You have a folder-tree pane, an email list pane, and an email reader pane. All of them part of the same window, yet separate entities. What makes them interesting is that by grabbing the "bar" or border that separates them, you re-size two (or three) panes at once! As one gets larger, the other (s) necessarily shrink.
In my Netbeans IDE, You can create a JFrame, which is the main window, and you can add, say a menu bar. You can also add a container named 'Panel' which seems to be similar to what I need but not quite. Multiple panels can not share the same border for example. So my question is this:
How does one divide a JFrame into multiple frames or panels? Thanks!

JSplitPane
For questions about its usage the best place is the Swing forum: [http://forum.java.sun.com/forum.jspa?forumID=57]

Similar Messages

  • Sap script '' how to create table frame in sap script"""

    i have some problem in sap script''  how to create table frame in sap script"""

    Hi,
    you can use BOX command..
    Syntax
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT and FRAME both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.
    1. XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.
    3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.
    4. FRAME: Thickness of frame.
    Default: 0 (no frame).
    5. INTENSITY: Grayscale of box contents as % .
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
    Units of measurement: The following units of measurement may be used:
    • TW (twip)
    • PT (point)
    • IN (inch)
    • MM (millimeter)
    • CM (centimeter)
    • LN (line)
    • CH (character).
    The following conversion factors apply:
    • 1 TW = 1/20 PT
    • 1 PT = 1/72 IN
    • 1 IN = 2.54 CM
    • 1 CM = 10 MM
    • 1 CH = height of a character relative to the CPI specification in the layout set header
    • 1 LN = height of a line relative to the LPI specification in the layout set header
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shadowing having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    check the fallowing link also
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803293454211d189710000e8322d00/content.htm
    Mark the points if u find it useful...
    Regards,
    Omkar.

  • Hi, I have Adobe Acrobat Professional.  I need to know how to create multi-links on 300 page docs

    I need to know how to create multi-links on a 300 page document, showing "return to main Menu".  Ideally placed on the bottom right of each page. I have adobe acrobat Professional. 

    Import a picture to be a button, place it, activate HYPERLINK tool, draw a rectangle around the whole button, in the window popping up select the link behaviour, submit with OK.
    Then copy & paste the button object to every page. I don't know whether pasting it on every of the 300 pages can be automated, but if not, it is still done quite fastly.

  • How to create multi garnishment order for the same garnishment document

    Hi,
    Can anyone tell me how to create multi garnishment order for the same garnishment document. I tried to copy the entry in IT0195 but the sequence field is grayed out so it will just delete the old record. What configuration should I do to make this possible?
    Thanks a lot in advance.

    hi,
    As far as I got it.
    You cannot have multiple Garnishment order but if a need arises you have to maintain it in IT216.
    For that follow this path goto PA30->pernr->194->change->Garnishment->adjustment.
    Since like order you cannot maintain adjustment also directly.
    Regards,
    Amit
    Reward all helpful replies.

  • How to create a frame in a applet?

    Dear All,
    How to create a frame in a applet?
    Thanks in advance
    Kityy

    You can't add a Frame/JFrame to an Applet/JApplet.
    An Applet/JApplet has its origins in the class Panel/JPanel.
    So, if you make your Applet to an application you
    can easily do that by putting your Applet "above" a Frame.
    Maybe you can archieve your goals with some Panels?!

  • How to create a popup window to load HTML page in AIR application without using any mx or spark?

    How to create a popup window to load HTML page in AIR application without using any mx or spark components?
    I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)

    Can we achieve this? can somebody help me on this scenario..

  • How to create OA Frame Work Jsp through JDeveloper9i

    Hi,
    any one can help me,
    how to create OA Frame Work Jsp through JDeveloper9i.
    and how to depoy that jsp page into oracle application server.
    plse help me,
    Regards
    ravi

    I am also having the same problem.
    can anyone help me out......?

  • How to create a popup window that shows detail information when press submi

    hi,all
    how to create a popup window that shows detail information when press the submit button ?I mean,when I press the button "Sumit"there will appear a popup window that shows the detail information you typed before.it means are u sure to submit,it is like some confirmation window.
    how to do achieve this ?help plz .
    best regards
    hlee
    Edited by: hlee on 2011-4-15 上午1:26

    hey,vee
    thanks for your response,but i had already read this thread before i put up a new question.any way,thanks.
    best regards
    hlee

  • How to create a second Window ?

    Hello,
    I need to create a second Window, but I can't find anything on how to create this, I only find things like "How to create an empty Window" or "How to create a HTML Window" (here: http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e0a. html ), but I need to create Window with Flex components inside (Like the main Window),
    The window that I need to create is just here to get a user input (an Uri) and return it to a method on the main window.
    Any idea of how can I do that ?
    Thank you !

    Use the Flex Window class (which is described in the "Creating an  mx:Window" section in the documentation you cited). You can then add Flex components to it.

  • How i disable the frame window??

    how i disable the frame window??
    i had used frame.disable(); function but its not work...
    disable function works only on components its not work on frame..

    hi!
    1) which one you are using? Frame/JFrame ?
    2) exactly what do you want to disable?
    a) entire frame including titlebar buttons
    b) just all the child components, menus, toolbar buttons
    c) what should be the behavior of taskbar at the time of disabled frame object?
    i think for a proper and to the point solution these are thing one need to know.
    regards
    Aniruddha

  • How to create a new window ?(not popup windows)

    How to create a standard window to show my web dynpro window so that the print button can be used ?

    hi , you are right , the blog tell me how to create a popup window , but I wanna to create a new window so that I can use the functions provided by the browser , what shall I do ?
    Regards ,

  • How to create multi-folders in a single folder in numbers

    how do you create multi-folders in a single folders. I have multi files orginized by month, but now i need to group it into a single folder by year.

    See this link:
    http://apex.oracle.com/pls/otn/f?p=31517:107
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to create pop-up window to search for items

    Hi,
    I want to create a pop-up window were the user will be able to search for an item and select it.
    How can I use a pop-up window in a portlet? Is there any api in the pdk for creating pop-up windows?
    Thanks

    Hi,
    Can you let me know why you are trying to use a popup window for searching?
    You can always add a search portlet - Basic,Advanced,Custom
    - which will give you the link to the respective searched items.
    I couldn't get a clear idea of your requirement.
    Thanks.

  • How To Create Multi Row Edit Forms in a JSP

    Hi, Could someone tell me how can i create multi edit rows in BC4J JSP edit page.
    Thanks
    Sirisha

    Refer to
    BC4J Multi-Row Extension API which provides multiple row operations to BC4J-based web application.
    http://sourceforge.net/docman/display_doc.php?docid=19393&group_id=87369
    http://radio.weblogs.com/0118231/2005/04/20.html#a529

  • How to create a modal window....?

    Hi All,
                      i have created a  WDA ALV Report,and for one of the field i assigned a cell editor 'Button"
    Whenever i click on that button( which was in the ALV grid) i need to display some other data in the modal window...
    1.How can we create a modal window...& where exactly i need to write the code ?
    Please help me to sort out this...
    Regards,
    Ravi

    Hi Ravi,
    1) Go to the methods tab of the view containing your ALV & create an event handler method for event ON_CLICK of ALV. This method would be called by the system whenever you click the button within your ALV cells.
    2) For this create a new view say POPUP_VIEW & a new window say POPUP_WINDOW.
    3) Now embed your POPUP_VIEW within your POPUP_WINDOW.
    4) Now within the view which displays your ALV, go to the event handler method for ON_CLICK & call the popup window.
    This can be done by making use of the code wizard. Just start the wizard and select the "Generate Popup" radio button. When you do an F4 help within your component use you would now be able to see an entry with the name of your new window that you have created i.e, POPUP_WINDOW. Just select that entry and press on enter. That's it you have done the needful for achieving your desired functionality.
    Regards,
    Uday
    Am just pasting you the code from my event handler mthod for ON_CLICK event:
    METHOD call_popup .
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window(
                         window_name            = 'POPUP_WINDOW'
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                         button_kind            = if_wd_window=>co_buttons_ok
                         message_type           = if_wd_window=>co_msg_type_none
                         default_button         = if_wd_window=>co_button_ok
      lo_window->open( ).
    ENDMETHOD.

Maybe you are looking for