• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setBounds Problem

 
Loganathan Subramani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

I am creating swing application for windows and mac. I am using to develop in windows for mac too.. after completion my app its working good in windows.

But in MAC the alignments were missing.




Actually the JFrame or JPanel size is missing and components are misplaced..

How to solve this issue in using null layout..?

What is the best way of doing swing application for platform independent UI support.?

Thank you for your kind reply.

 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't use null layout. Use a LayoutManager. Not sure which is best, but people speak well of MigLayout. You will have to use Google to find it.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic