Place one ComposePanel over another in the same JFrame?

Hey guys,

Do you know if there’s a way to put one ComposePanel with a transparent background, rendered on the Skia surface, over another, within the same JFrame?

It is definitely possible to have one semi-transparent ComposeWindow/ComposeDialog over another by setting isTransparent in it. But when it comes to a single JFrame with JLayeredPane, for example, I can’t make it work unless I make the panels render on Swing graphics, which degrades the performance.

The reason I need such a weird configuration, is that I work on a game that has 2 compositions: a gameplay with a pausable frame clock on one and all the game menus on another.

Thank you!