question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Slow startup with launch4j until FlatLaf v1.1

See original GitHub issue

From version 1.1 to 1.1.2, the execution of my newly exe program (converted with launch4j) is very slow.

Here is the code is use to set FlatLaf :

public static void main(String[] args) {
    try {
        UIManager.setLookAndFeel(new FlatDarculaLaf());
    } catch (UnsupportedLookAndFeelException e) {
        e.printstacktrace();
    }
    SwingUtilities.invokeLater(Swappy::createAndShowGUI);
}

But everything is fine with version < 1.1 The thing is, I can’t use embedded menu bar because I am obliged to use version 1.0

PS : this issue appears to only show when I convert my jar file to an exe file with launch4j.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
DevCharlycommented, May 12, 2021

Should be fixed in main branch. Please try the latest snapshot: https://github.com/JFormDesigner/FlatLaf#snapshots

0reactions
Ph4ntom01commented, May 17, 2021

Thanks for the information about conf folder and yes, It works now with your latest snapshot !

Read more comments on GitHub >

github_iconTop Results From Across the Web

131 Launch4j very slow startup - SourceForge
I made a .exe out of a .jar using Launch4j. On my machine it works fine, but when I passed it to my...
Read more >
Wrapped .exe with launch4j and jdk8 takes very long to start ...
Everything works just fine, that is not the problem, but the launch process of that .exe takes ~1-2 Minutes and I simply don't...
Read more >
FlatLaf - Flat Look and Feel | FormDev - JFormDesigner
FlatLaf is a modern open-source cross-platform Look and Feel for Java Swing desktop applications. It looks almost flat (no shadows or gradients), clean, ......
Read more >
New Development Snapshot 0.49.8 for MegaMek ... - BattleTech
UlyssesSockdrawer has been running a popular Solaris VII campaign on our Discord that is always looking for new players.
Read more >
Snippets | BotCompany.de Repo
valueIs1 - check if value of key in string map is "1" (good for HTTP requests) · #1023666 ... JavaX fragment (include), stefan,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found