Results 1 to 3 of 3

Thread: Aligning Contents Using BorderLayout

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    49

    Question Aligning Contents Using BorderLayout

    Hi,

    I have a problem centering my GUI components. I've got a JPanel which is placed at BorderLayout.CENTER and the problem is the JPanel is too high up. In what means can i shift it downwards, resulting it being centralised?
    ______________________________________

    Warmest Regards,

    Lex
    ______________________________________



    :|: Don't Mess With The Predator :|:

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Aligning Contents Using BorderLayout

    Use multiple nested Layout Managers
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: Aligning Contents Using BorderLayout

    If everything is in panels, then you can use setBounds(int,int,int,int);

Posting Permissions

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



Click Here to Expand Forum to Full Width