Update Windows UI
Opened this issue · 0 comments
4A6F6F6E61 commented
The Default Java UI looks really bad and outdated. I would recommend using a custom LaF like FlatLaF or changing the code to use the default Windows LaF instead of the default Java LaF. Just update the if-condition on Line 54 in CodeWindow.java
:
if (osname.contains("Win"))
{
WorkingSystem.setSystem(SystemType.WINDOWS);
try
{
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
SwingUtilities.updateComponentTreeUI(this);
} catch (ClassNotFoundException |
InstantiationException |
IllegalAccessException |
UnsupportedLookAndFeelException e)
{
System.out.println("Exception updating the Look and Feel: " + e.getMessage());
}
}