How to provide auto size re-ajustment in java design i.e when vb.net form are expanded then it automatically expand the button and textfield appropiatly like nothing changed... while in java every thing messes up... Any Suggestions.

I am doing that already..... But all of these are on fixed size not ratio based. In netbeans i have seen things in jpanel inside a jframe auto expand to fit the size of the jframe container. But when i try to code things nothing worked in eclipse. I usually use border layout with flow layout but things inside flow layout doesnt expand automatically with the ratio of jframe changes...

Yes, FlowLayout is not one to use for your requirement - it doesn't resize it just adds space before/after. Use a GridLayout, or go the whole hog and use a GridBagLayout for total control

This question has already been answered. Start a new discussion instead.