Look and Feel in java

1

I have an application that uses Windows Look and Feel. But I have a problem where the user can have a Windows XP computer, and everything is stylized with windows XP.

It has the application to stick with the compilation look and feel (or something of the genre), because I use Windows 10 and I would like the application to have that appearance on the client as well. Here in the company we use Nimbus, but this look and feel is already far behind schedule, and I would like to try to give a new look to the system.

    
asked by anonymous 23.05.2018 / 15:28

1 answer

8

Natively not because you are probably using the lookandfeel (LAF) that adapts the appearance of the application as the running system window manager, and in this case, it will adapt according to OS on which you are running.

In addition to the Nimbus, there is the LAF javax.swing.plaf.metal natively, both are cross-platform , but perhaps its appearance is not as interesting either. In addition, if you want to keep your system running independent, you'll need to create your own LAF or use some personalized one. Usually these custom solutions are found only paid, or free to test and with watermark.

Swing is unfortunately already far behind schedule, even though it's a very old desktop technology, so it's hard to find a simpler solution that does not cost you the cost of buying a theme. If you really need a desktop application in java and want to customize it, I suggest you read the API javafx , in addition to being more current, it is more flexible than customization, even having web-like features such as style sheets.

Reference:

23.05.2018 / 15:38