# Java Swing LAF - Client

**URL:** <https://forum.inductiveautomation.com/t/java-swing-laf-client/23525>\
**Category:** General Discussion\
**Created:** [March 22, 2019, 12:04am UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525 "2019-03-22T00:04:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![PAlvaro](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@PAlvaro](https://forum.inductiveautomation.com/u/PAlvaro)\
**Post date:** [March 22, 2019, 12:04am UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525/1 "2019-03-22T00:04:23Z")

</div>

I have four clients running on identical machines but one has a different look and feel.  
This is affecting the power tables, specifically the header height and color, which causes layout issues in some windows.  
The other three clients are displaying the power tables exactly as in designer.

I was going to execute the command below but would like to be sure that it won’t break anything.  
**-Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel MyApp**

I didn’t find a way of getting the current default LAF using a command line, in case I have to revert the change.

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 22, 2019, 2:14am UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525/2 "2019-03-22T02:14:06Z")

</div>

What do you mean one has a different look and feel?

Are you already setting a custom LnF or something else?

---

<div class="post-metadata">

**Author:** ![PAlvaro](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@PAlvaro](https://forum.inductiveautomation.com/u/PAlvaro)\
**Post date:** [March 22, 2019, 2:54am UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525/3 "2019-03-22T02:54:25Z")

</div>

No. I didn’t change anything.  
I’m assuming the LnF is not the same because of the power table appearance.

Designer:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3fdd1a32c7fc8f41e34c67ee5891b5fe4d7b37d8.png)

Client:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cb1bc18a335439cc6a988dc83744bb6f1d2096b5.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 22, 2019, 3:30pm UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525/4 "2019-03-22T15:30:38Z")

</div>

It’s hard to troubleshoot when you keep moving the goalpost - your original post said you were comparing 4 clients; it didn’t say anything about a designer.

I don’t think whatever is going on here is a Look and Feel issue unless you or your project are attempting to set one somewhere. It may be easier to call into support and have them take a look.

---

<div class="post-metadata">

**Author:** ![PAlvaro](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@PAlvaro](https://forum.inductiveautomation.com/u/PAlvaro)\
**Post date:** [March 22, 2019, 5:08pm UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525/5 "2019-03-22T17:08:52Z")

</div>

The screenshot from designer is exactly the same as from the other three clients, and I did mention it in the original post.

> [@PAlvaro](#):
>
> The other three clients are displaying the power tables exactly as in designer.

I will do as you're suggesting and call tech support.  
Thanks Kevin

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 22, 2019, 5:24pm UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525/6 "2019-03-22T17:24:18Z")

</div>

Ignition uses its own Look and Feel which should eliminate these kinds of problems.

Are the different clients/designers running on the same OS?

---

<div class="post-metadata">

**Author:** ![PAlvaro](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@PAlvaro](https://forum.inductiveautomation.com/u/PAlvaro)\
**Post date:** [March 22, 2019, 5:28pm UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525/7 "2019-03-22T17:28:32Z")

</div>

Yes. All clients are running on Windows 7 Pro SP1.  
Designer is running on Windows 10.

---

<div class="post-metadata">

**Author:** ![mmcpartland](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@mmcpartland](https://forum.inductiveautomation.com/u/mmcpartland)\
**Post date:** [September 26, 2019, 7:00pm UTC](https://forum.inductiveautomation.com/t/java-swing-laf-client/23525/8 "2019-09-26T19:00:11Z")

</div>

The issue was that the theme of the win7 machines was set to ‘windows classic’. Changing the theme to ‘windows 7 basic’ fixed the issue.
