I'm trying to understand why some things like the MenuBar and ContextMenu use swing underneath. They use the interop api instead of just drawing it directly with compose. wouldnt it be easier to use compose, or am i missing something?
e
eygraber
09/29/2023, 8:46 AM
I don't know if this is the official reason, but I think early on the reason was that it works, so don't reinvent the wheel until you need to
a
Alexander Maryanovsky
09/29/2023, 11:04 AM
Menubar on Mac OS X is not part of the window, so we can’t draw it with compose.
Not sure what you mean about context menus. DropdownMenu is fully in compose.