• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Application Size and Appearance problem?

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 3324
32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic