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 . :)
Printable View
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 . :)
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!