Giuliopime
07/11/2023, 9:24 AMDp
• opening the window on top of the current application
Seems like on electron there is this option which is what I need:
breakWindow.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true });
// Or maybe it's this one
breakWindow.moveTop();
Is this possible with swing and compose?
Otherwise if it’s not possible
• how can I request focus on the window so that the user gets moved to it?Timo Drick
07/11/2023, 12:53 PMKirill Grouchnikov
07/11/2023, 12:55 PMmoveTop
for which AWT’s equivalent is Frame.toFront
Kirill Grouchnikov
07/11/2023, 12:56 PMsetAlwaysOnTop
, but of course at some point it does become user-hostile if there are multiple apps that want to be like thatGiuliopime
07/11/2023, 5:38 PMGiuliopime
07/11/2023, 8:17 PMGiuliopime
07/11/2023, 8:17 PMKirill Grouchnikov
07/11/2023, 9:13 PMKirill Grouchnikov
07/11/2023, 9:18 PMGiuliopime
07/12/2023, 8:13 AMGiuliopime
07/12/2023, 8:14 AM