• Post Reply Bookmark Topic Watch Topic
  • New Topic

resize

 
iyappan sankaran
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i put various component in a frame and when i resize the frame
the component dose'nt get aligned as well as dosenot shrink or enlarged.
how to do
 
R.Joe
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
use pack() to solve ur problem
 
Terry McKee
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post your code?
 
Jason Ireton
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you use any LayoutManager for your frame? you have to use LayoutManager, then the components will get aligned when u resize you frame.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!