• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

panel sizing problem

 
neelam aggarwal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey guys....... in net beans ,,,the size of the panel automatically enlarges ... i tried many times to reduce the size then save it but again it displays enlarged form ....... what i do........... also the size of preview window enlarges automatically....... what's the error.. do i need to make some of the properties to change.. if so which one.......please help
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where do you add the Panel to? what is the layout of the parent? I think the parent to which you add the panel is set with BorderLayout and by default the panel will be added to the 'CENTER' which will occupy maximum space available...
 
Nam Ha
Ranch Hand
Posts: 50
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to use:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic