Ardian
05/30/2021, 6:36 PMSwingPanel
rendered behind another composable? I've tried using the Box
layout to wrap SwingPanel
with the other composable but it seems like it always displays SwingPanel
on top of the other.
Box {
SwingPanel { //logic here }
Image { //logic here }
}
Kirill Grouchnikov
05/30/2021, 6:53 PMButton
is not a traditional Swing component in a sense. And then, how can one interleave multiple `SwingPanel`s in that virtual hierarchy? Including translucency, event handling, etc.Erlan Amanatov
05/31/2021, 4:57 AMz index
Modifier in Box to control "elevation"Erlan Amanatov
05/31/2021, 5:05 AMolonho
05/31/2021, 7:16 AMRoman Sedaikin [JB]
05/31/2021, 7:55 AMSwingPanel
is the scope that will host the java.awt.Component
. It's important to understand that the Compose layer is a java.awt.Canvas
that renders all the composable components, so the AWT components are at the top. For now, I would recommend building a user interface based on this information.Ardian
05/31/2021, 5:11 PM