Results 1 to 6 of 6
Like Tree1Likes
  • 1 Post By Fubarable

Thread: Help trying to set GUI layout

  1. #1
    JLSHARP92 is offline Member
    Join Date
    Jan 2012
    Posts
    4
    Rep Power
    0

    Default Help trying to set GUI layout

    Hey everyone :) I'm new to this site and pretty new to learning java and I'm stuck with a little task. I'm trying to start a GUI but struggling with the code for the layout of the GUI :(

    I've uploaded a picture of what I want it to lHelp trying to set GUI layout-untitled.pngook like, if anybody could help me with the code for the layout I would be really grateful :)

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: Help trying to set GUI layout

    Quote Originally Posted by JLSHARP92 View Post
    ook like, if anybody could help me with the code for the layout I would be really grateful :)
    Sorry, this is a forum, not a code factory.

    Have you gone through the layouts tutorial trail?
    Lesson: Laying Out Components Within a Container (The Java™ Tutorials > Creating a GUI With JFC/Swing)

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    JLSHARP92 is offline Member
    Join Date
    Jan 2012
    Posts
    4
    Rep Power
    0

    Default Re: Help trying to set GUI layout

    First of all, I didn't ask anybody to write me the coding for this GUI, all I asked was for help with it.

    I'll look at the tutorials now, I'm sure they'll help me. Thanks

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Help trying to set GUI layout

    Quote Originally Posted by JLSHARP92 View Post
    First of all, I didn't ask anybody to write me the coding for this GUI, all I asked was for help with it.

    I'll look at the tutorials now, I'm sure they'll help me. Thanks
    It's always better to give it a try first on your own after reading the tutorials. Otherwise we'd spoil the fun of your learning and experimenting. Later if you get stuck, please come on back with your code.
    DarrylBurke likes this.

  5. #5
    JLSHARP92 is offline Member
    Join Date
    Jan 2012
    Posts
    4
    Rep Power
    0

    Default Re: Help trying to set GUI layout

    I'm actually struggling to split the pane into two panels, the left panel being the header panel and the right being the image panel. I'm asking help with this, how do you do it? :(

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Help trying to set GUI layout

    Quote Originally Posted by JLSHARP92 View Post
    I'm actually struggling to split the pane into two panels, the left panel being the header panel and the right being the image panel. I'm asking help with this, how do you do it? :(
    Have you looked into using a BorderLayout for this? Again, check out the tutorials as they will show you how.

Similar Threads

  1. don't know the right layout
    By temyong in forum New To Java
    Replies: 4
    Last Post: 03-10-2011, 01:13 PM
  2. Please help me in this layout :(
    By orionorion in forum Java Applets
    Replies: 1
    Last Post: 02-09-2011, 02:47 PM
  3. Please Help me to do a layout
    By neway003 in forum AWT / Swing
    Replies: 3
    Last Post: 11-03-2010, 06:28 PM
  4. Edit layout Layout please help me
    By manhtungtnk28@gmail.com in forum New To Java
    Replies: 4
    Last Post: 11-23-2009, 08:41 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
  •