Results 1 to 2 of 2
  1. #1
    ron2794 is offline Member
    Join Date
    Dec 2010
    Posts
    38
    Rep Power
    0

    Default problems with layouts !

    i am now getting good in java, but the layout seems to be the biggest problem in netbeans, so kindly tell me some tricks so that i can arrange the things beter in forms and panel.......and be a good designer.

  2. #2
    mine0926 is offline Senior Member
    Join Date
    Apr 2010
    Location
    Philippines
    Posts
    580
    Rep Power
    5

    Default

    I am using netbeans too, and I am a begginer here. In netbeans by default JPanel, JFrames etc uses "Free Design" layout. Free Design Layouts is a sample of GroupLayout manager, at runtime when window is resized or something components inside it will REARRANGE.

    You can change layout manager that JPanel or JFrame is using.

    At Design time
    * Click the component you want to change > Right click > Set Layout > choose the layout manager you want to use.


    OR


    At Code
    see the java site's tutorial Lesson: Laying Out Components Within a Container (The Java™ Tutorials > Creating a GUI With JFC/Swing)

Similar Threads

  1. RMI Problems
    By michaeln31 in forum New To Java
    Replies: 4
    Last Post: 10-23-2010, 12:52 PM
  2. problems with Jxl
    By Harpreet1111 in forum New To Java
    Replies: 1
    Last Post: 07-07-2010, 07:27 PM
  3. Can you have multiple layouts using swing?
    By fresh83 in forum New To Java
    Replies: 2
    Last Post: 12-27-2009, 09:38 PM
  4. Gui problems
    By bulldog in forum Advanced Java
    Replies: 1
    Last Post: 12-11-2009, 12:35 PM
  5. Layouts ?
    By plodos in forum Eclipse
    Replies: 3
    Last Post: 07-30-2007, 03:03 PM

Posting Permissions

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