Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual artifacts around JInternalFrames #11

Closed
kirill-grouchnikov opened this issue Oct 17, 2019 · 8 comments
Closed

Visual artifacts around JInternalFrames #11

kirill-grouchnikov opened this issue Oct 17, 2019 · 8 comments

Comments

@kirill-grouchnikov
Copy link

image

image

@DevCharly
Copy link
Collaborator

Thanks, I'll have a look.

JInternalFrame support is not yet implemented.

@rogerbj
Copy link

rogerbj commented Dec 8, 2019

Thanks for making FlatLaf available, really impressive! Are there any plans for internal frame support any time soon?

@DevCharly
Copy link
Collaborator

Thanks, Roger.

Internal frame support is coming soon, but I'm not sure whether this will happen before Christmas.
Worked already some hours on it, but this takes much more time...

@rogerbj
Copy link

rogerbj commented Dec 9, 2019

I am excited to hear that!

@Chrriis
Copy link
Contributor

Chrriis commented Jan 8, 2020

I, too, am very interested in internal frame support. It is the only missing feature before we can ditch our current L&F and replace it with FlatLaf. I can assist in testing as soon as there is something to play with.

@Chrriis
Copy link
Contributor

Chrriis commented Jan 9, 2020

This original bug report was about visual artifacts around Internal frames, and this seems fixed.

I wonder if a different bug report needs to be opened about internal frame decorations support.
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

As you can see, the internal frame decorations are not FlatLaf.

@DevCharly
Copy link
Collaborator

I wonder if a different bug report needs to be opened about internal frame decorations support.

Yes, would you like to open one?

@DevCharly
Copy link
Collaborator

fixed in 0.27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants