Hi, I am trying to render a popup from java. On local host this works fine, but when I deploy to the cloud I am running into the following error: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) Is it possible to set this in the mendix cloud , or set a jvm parameter in the mendix cloud (-Djava.awt.headless=true)
So, your example is trying to display a pop-up on the web server in the Mendix cloud, instead of in a user's browser.
You should be using Mendix pages and microflows to display feedback to users.
Did you try to trigger the pop-up with addTextMessageFeedback as described in this topic?