Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Layout J-Fields in a J-Frame-resizing question

  Asked By: Darcy    Date: Dec 31    Category: Java    Views: 809

I am trying various different layout managers to
host a couple of JLabels & JTextFields in a JFrame. Whenever I resize
the frame (at runtime by dragging the borders) then the TextField
resizes too big. What is the best way to manage this problem?



1 Answer Found

Answer #1    Answered By: Akins Massri     Answered On: Dec 31

Please try GridbagLayout and its constraints your problem  will solve.

and if it will be diffcult then try Null Layout of the Form but it is not

Didn't find what you were looking for? Find more on Layout J-Fields in a J-Frame-resizing question Or get search suggestion and latest updates.