Skip to content

Deprecate background parameter in SwingPanel#3024

Open
m-sasha wants to merge 2 commits intojb-mainfrom
m-sasha/deprecate-SwingPanel-background
Open

Deprecate background parameter in SwingPanel#3024
m-sasha wants to merge 2 commits intojb-mainfrom
m-sasha/deprecate-SwingPanel-background

Conversation

@m-sasha
Copy link
Copy Markdown

@m-sasha m-sasha commented May 1, 2026

Deprecate and later remove.

Fixes https://youtrack.jetbrains.com/issue/CMP-9099

Testing

Tested that setting the background manually works. For some components, isOpaque = true is also needed to have the background drawn.

Release Notes

Migration Notes - Desktop

  • The background parameter of SwingPanel has been deprecated. Instead set the background manually in the factory method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant