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.

Internal Frames do not have decorations corresponding to FlatLaf

See original GitHub issue

(bug report split from issue #11)

Internal frame decorations are not correct for FlatLaf. Here is a simple test case:

    public static void main(String[] args) throws Exception {
        UIManager.setLookAndFeel(new FlatLightLaf());
        JFrame frame = new JFrame();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JDesktopPane desktopPane = new JDesktopPane();
        JInternalFrame internalFrame = new JInternalFrame("Test", true, true, true, true);
        internalFrame.setLocation(50, 30);
        internalFrame.setSize(300, 200);
        desktopPane.add(internalFrame);
        frame.getContentPane().add(desktopPane);
        frame.setSize(400, 300);
        frame.setVisible(true);
        internalFrame.setVisible(true);
    }

And here is the result: InternalFrame

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DevCharlycommented, Feb 3, 2020

@Chrriis thanks for your feedback.

I’ve made the buttons larger. That’s better!

image

0reactions
DevCharlycommented, Feb 25, 2020

implemented in 0.27

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
Index (flatlaf-core 1.1 API) - javadoc.io
Animation support class that stores the animation state and implements the animation. ANIMATION - Static variable in interface com.formdev.flatlaf.
Read more >
How to Set the Look and Feel (The Java™ Tutorials ...
The Java Tutorials have been written for JDK 8. ... For the most part, the UI delegate is used internally by the JComponent...
Read more >
How to change the color of titlebar in JFrame? - Stack Overflow
Its not possible and controlled by OS. If you want to access the title bar, first, you should have the access to the...
Read more >
NEWS - Isabelle - TUM
Windows/Cygwin does not support multiplexing: the functionality should be the ... must contain proper module frame, nothing is added magically any longer.
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