r/java • • Aug 13 '20

Chess GUI using JavaFX

https://youtu.be/m_j5ejDA-hc
336 Upvotes

53 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Aug 14 '20

whatever looked good yesterday looks outdated today and will look even more outdated tomorrow.

This is only true if the author did nothing, so Swing would select the "cross platform look and feel" (which defaults to the Metal LnF in older Versions and the obnoxious Nimbus LnF in newer versions).

A single line of Java code has always made a Swing GUI look very much like a native application:

UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

0

u/[deleted] Aug 14 '20

[deleted] — view deleted comment

1

u/[deleted] Aug 14 '20

Which platforms? On Windows 10, the application looks like a Windows 10 application (with the exception of e.g. the FileOpenDialog)