Results 1 to 2 of 2
  1. #1
    de.megha is offline Member
    Join Date
    Jul 2010
    Posts
    1
    Rep Power
    0

    Default issue of mutiple panels

    Is it possible to create multiple panels in a single frame in java and aasign different layouts to each of this panels .if yes how?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,000
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by de.megha View Post
    Is it possible to create multiple panels in a single frame in java and aasign different layouts to each of this panels .if yes how?
    Yep, that's possible; you have to stick those panels in another container with a certain LayoutManager (maybe FlowLayout will do) and all the panels can have their own LayoutManager (they are also containers).

    kind regards,

    Jos

Similar Threads

  1. Replies: 0
    Last Post: 03-24-2010, 10:39 AM
  2. Adding panels into a panel
    By kcakir in forum AWT / Swing
    Replies: 7
    Last Post: 12-07-2009, 05:19 PM
  3. resizeable panels
    By simo_mon in forum AWT / Swing
    Replies: 4
    Last Post: 07-29-2009, 01:45 AM
  4. Spliting the Panel to three panels
    By suraw in forum New To Java
    Replies: 0
    Last Post: 03-25-2009, 06:05 PM
  5. Working with Labels on Panels.
    By vargihate in forum AWT / Swing
    Replies: 2
    Last Post: 01-04-2008, 04:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •