Results 1 to 2 of 2
  1. #1
    manhit45 is offline Member
    Join Date
    Oct 2009
    Posts
    5
    Rep Power
    0

    Lightbulb Dock property of control ?

    In vs (vb.net or c#) each control has dock property.Control auto fill container.
    But in java i dont see that property. How can i create that.
    example .i have a textbox. when i maximize my form i want length of that textbox is stretch too . :)

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

    Default

    Java Swing GUI programming (which I assume you are referring to, but without more info, I can't really tell) is programmed differently than you're used to in .net programming. It's more code-centric, and as such layouts are controlled by using layout managers. I advise you to read up on these at the Sun layout manager tutorial. Please click here.

    Much luck!

Similar Threads

  1. XML property
    By Abder-Rahman in forum XML
    Replies: 1
    Last Post: 09-27-2009, 07:10 PM
  2. Replies: 0
    Last Post: 06-25-2009, 05:28 AM
  3. control app width based on certain control
    By thebillybobjr in forum SWT / JFace
    Replies: 0
    Last Post: 05-15-2008, 04:52 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
  •