This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Application Size and Appearance problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Application Size and Appearance problem?" Watch "Application Size and Appearance problem?" New topic
Author

Application Size and Appearance problem?

Farhad Rahmati
Ranch Hand

Joined: Dec 16, 2010
Posts: 96
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

Joined: Jun 13, 2009
Posts: 2180
    
    7
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

Joined: Dec 16, 2010
Posts: 96
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

Joined: Jul 26, 2007
Posts: 10270
    
    8

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application Size and Appearance problem?