Results 1 to 2 of 2
  1. #1
    OllyHal is offline Member
    Join Date
    Feb 2012
    Posts
    25
    Rep Power
    0

    Default Gap Between Panels?

    Hi,

    Gap Between Panels?-borders.png

    I am a bit puzzled how to make a gap between these three panels which are in a panel already.

    Java Code:
    fpN.add(fpNW,BorderLayout.WEST);        //Adding the top left panel to the main panel
    fpN.add(fpNN,BorderLayout.CENTER);               //Adding the middle panel to the main panel
    fpN.add(fpNE,BorderLayout.EAST);                  //Adding the top right panel to the main panel
    jp2.add(fpN,BorderLayout.NORTH);      //Adding the main panel to the tab pane
    Any help would be much appreciated, if you need any more of my code for you to help me post it :)

  2. #2
    OllyHal is offline Member
    Join Date
    Feb 2012
    Posts
    25
    Rep Power
    0

Similar Threads

  1. BorderLayout for 2 Panels
    By collwill in forum New To Java
    Replies: 2
    Last Post: 03-31-2011, 03:49 AM
  2. Need some help with panels inside panels
    By kakefjes in forum AWT / Swing
    Replies: 0
    Last Post: 03-17-2011, 11:36 AM
  3. Java Panels
    By nikkka in forum New To Java
    Replies: 11
    Last Post: 03-12-2011, 02:28 PM
  4. Deleting panels
    By dilpreet28 in forum New To Java
    Replies: 13
    Last Post: 08-11-2010, 09:23 AM
  5. resizeable panels
    By simo_mon in forum AWT / Swing
    Replies: 4
    Last Post: 07-29-2009, 01:45 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
  •