arena21 / idps

Automatically exported from code.google.com/p/idps
0 stars 0 forks source link

Program is using default Java controls #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open the application
2. Notice the hideous Java controls on platforms other than Mac OS X

This is just a suggestion to set the UIManager's look and feel to system 
look and feel, as this gives a much nicer appearance on Windows and Linux.

Adding the following to main should do it:
try {
    javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSyste
mLookAndFeelClassName());
} catch (Exception e) {}

Original issue reported on code.google.com by bjmadsen on 23 Mar 2010 at 3:32

GoogleCodeExporter commented 8 years ago
I tried System default Look and Feel, but it breaks the inventory layout on 
Windows 
(Margins/Paddings don't match anymore). This would basically require me to 
design 
different UI layouts for each OS, which I have no interest in doing.

Original comment by ch...@clan-fwd.com on 12 Apr 2010 at 12:32