This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application Size and Appearance problem?

 
Farhad Rahmati
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys

I have been working on a application for 6 months.

now I am done with it. and I tried to take it to another computer and run it.

everything has changed I mean the GUI is completely different.

I have used Netbeans 6.9 and I have been using netbeans GUI builder. but it is fine in my computer and nothing is changing

any idea Please.

Thanks
 
Rob Camick
Ranch Hand
Posts: 2555
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
everything has changed I mean the GUI is completely different.


That is why you should use layout managers when creating a GUI. The layout manager will size the component properly when it is run on different computers that use different Look and Feels.
 
Farhad Rahmati
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

what is the solution, how to use the layout manager for each JPanel in the application,

it seems to be alot of work.

currently I am using free layout in netbeans.


 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Farhad Rahmati wrote: how to use the layout manager for each JPanel in the application,

Recommended reading http://download.oracle.com/javase/tutorial/uiswing/layout/visual.html

Farhad Rahmati wrote:
it seems to be alot of work.

Not as much as writing different versions of the same app for different OS and screen resolution combinations
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic