Skip to content

Update Windows UI #2

@4A6F6F6E61

Description

@4A6F6F6E61

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());
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions