Profile picture for user EasyAris

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.setSize(100, 100);

by Frank Weyand
Posted on Tue, 01/21/2014 - 12:34


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.



by Konstantin Seleznev Author
Posted on Tue, 01/21/2014 - 13:07

Hello. Thank you.

Report on localserver. It works in ARIS 7.2 in reports and macros. In ARIS 9.5 it works only in macros. Bad news for me.

by Torsten Haase
Posted on Tue, 01/28/2014 - 09:14

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.



Featured achievement

You blog more than you breathe, and your articles stand out: Create 20 more articles, receive very good feedback and stimulate conversations
Recent Unlocks


Weekly | All-time
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon