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

    Default How to change the position of a scrollpane with a table using java in netbeans

    Hello

    I am new to Java and am trying to display a table that has a scrollpane in netbeans in a certain position on my GUI page where i have a title above my scroll pane and buttons below it but i have no idea how to do this, i would be very grateful if someone could help me with this please :)

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

    Default Re: How to change the position of a scrollpane with a table using java in netbeans

    Use the appropriate LayoutManager(s), and note that the power lies in their ability to be nested.
    A Visual Guide to Layout Managers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out Components Within a Container)

  3. #3
    rubi is offline Member
    Join Date
    Feb 2012
    Posts
    2
    Rep Power
    0

    Default Re: How to change the position of a scrollpane with a table using java in netbeans

    Thank you very much for your reply, I will look into what you have sent me and will test this out although I know I will have great difficulty :(

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

    Default Re: How to change the position of a scrollpane with a table using java in netbeans

    I know I will have great difficulty :(
    If you're using the NetBeans visual designer you probably will. Learning to hand-code a Swing GUI is many times easier. The visual designer is good for those who are already fairly expert in Swing coding, and know or can make a good guess at what to do where.

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

Similar Threads

  1. Replies: 1
    Last Post: 03-13-2011, 05:32 PM
  2. Replies: 2
    Last Post: 03-06-2011, 08:33 PM
  3. Replies: 4
    Last Post: 12-31-2010, 12:15 PM
  4. How to I change the position in arrays
    By LennyKosmos in forum New To Java
    Replies: 3
    Last Post: 09-27-2010, 10:04 PM
  5. Change the Font Size and Text Position
    By stayfierce in forum New To Java
    Replies: 1
    Last Post: 12-03-2009, 05:17 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
  •