Hello. Why javax.swing classes work fine in ARIS 7.2 but do not work in ARIS 9.5? There is no any mistakes in code but swing window does not appear.
For example this code demonstrate empty JFrame window:
var jFrame = new javax.swing.JFrame();
jFrame.setTitle("123");
jFrame.setSize(100, 100);
jFrame.setLocation(100,100);
jFrame.setVisible(true);
Hi,
In Reports? Well, how should a report bring up a dialog? Reports run on the server.
This might work in the case server and client run on the same machine. But that is an unwanted side effect. Now, in Java 1.7, there is an additional check for windows creation.
Bye,
Frank
Hi Konstantin,
Reports are designed to be executed on a remote server, so UI was never allowed here.
Technically: Creation of swing dialogs worked in older versions only because of Java <=1.6 was less strict in checking whether UI operations are executed in the AWT event dispatch thread. Reports always run in their own thread.
BR,
Torsten