• 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

Problem with nimbus look and feel.. Please help

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
I am creating a software in swing. For that i am using NIMBUS LOOK AND FEEL.
i have a doubt in my mind that if i am using nimbus look and feel while developing the software will it be running with same look and feel when i deploy it on some other system? Means if only jre is installed on some other system than will nimbus look and feel will work or not???


Please help..

Thanks in advance.
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java Tutorials. It says cross‑platform, so I would think that means it looks the same on different platforms.
 
Bharvi Dixit
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Campbell for the reply
i found there is something SystemLookAndFeel . but while designing the GUI i need to set the components according to the look and feel i choose to show..
so which one is beeter?? Nimbus or SystemLookAndFeel??
And the same question again , while deploying the software .. will there be any problem?? what is needed at the time of deployment.. JDK with JRE or Only JRE



Thanks
 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bharvi Dixit wrote:Thanks Campbell for the reply
i found there is something SystemLookAndFeel . but while designing the GUI i need to set the components according to the look and feel i choose to show..
so which one is beeter?? Nimbus or SystemLookAndFeel??


It's not a question of which one is better but rather which one suits your requirements. With SystemLookAndFeel your app will look different on every platform it runs on, it will look like a native application. Whereas with Nimbus it will look the same on every platform it runs on and won't look like it is native to any platform.

You should not be placing the components according to the L&F you choose. You should be using layout managers to lay out the components and then L&F's will be fully interchangeable.

Bharvi Dixit wrote:And the same question again , while deploying the software .. will there be any problem?? what is needed at the time of deployment.. JDK with JRE or Only JRE


You either need to get the user to install the JRE or use a JRE that is already installed on the users system or install a JRE that is local to your app to ensure you keep control of which version of JRE your application uses.
 
Bharvi Dixit
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tony Docherty thank you so much for all the information
I am using GroupLayout manager in the netbeans for creating the GUI, but as output is concerned, then there is different arrangements of components with same interface design.
means some panels are not arranged properly with different Look and feel..

I have decided to design the GUI according to the SystemLookAndFeel with grouplayout manager.
Please tell me if i my decision is right or wrong .

Thanks
 
Tony Docherty
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

but as output is concerned, then there is different arrangements of components with same interface design.
means some panels are not arranged properly with different Look and feel..


I'm not sure what you mean by this. Can you show some examples where changing the L&F results in components no longer being arranged properly.

I have decided to design the GUI according to the SystemLookAndFeel with grouplayout manager.
Please tell me if i my decision is right or wrong .


It's not really possible for me to say. If that gives you the L&F you require then it's the right decision, if not it's not.
reply
    Bookmark Topic Watch Topic
  • New Topic