rcantrel
rcantrel

Reputation: 187

Detect virtual desktop in Windows 10

In Java, is there a way to determine if my frame is on the current virtual desktop or on one that is not currently visible?

The app has some popup frames (notifications), that display and I do not want them to display unless it is on the desktop where my main frame is located. I could ask the user via a JOptionPane, but it causes my desktop to switch over to the main frame.

Upvotes: 2

Views: 233

Answers (0)

Related Questions