Computer-implemented method for automatically adapting a set of graphical user interface elements (el) for a medical application to be used in a target monitor setup (tms), wherein the set of graphical user interface elements (el) was generated for a source monitor setup (sms), wherein the target monitor setup and the source monitor setup refer to a setup of at least one physical monitor which is addressed by an application to visualize the graphical user interface elements of the application, comprising the steps: - Detecting physical device properties of the target monitor setup (tms); - Receiving requirements of the medical application; - Checking if detected physical device properties of the target monitor setup (tms) are appropriate for the received requirements for displaying images and application windows of the medical application correctly for safeguarding quality requirements for clinical applications and if yes: - Adapting the set of graphical user interface elements (el) of the source monitor setup (sms) by creating an adapted set of graphical user interface elements (el') for the target monitor setup (tms) by generating a runtime instance of a virtual monitor component for each monitor or for each application in the source monitor setup (sms), wherein the virtual monitor component acts as intercepting window in the target monitor setup (tms) so that each of the physical monitors of the source monitor setup (sms) is mapped to a virtual monitor component, and wherein generating the virtual monitor component comprises calculating an adapted set of configuration properties executed by re-setting or newly setting or overriding previous values, which are used for displaying the adapted graphical user interface elements in the target monitor setup, and wherein the method is reversible so that in reply to a reverse signal the target monitor setup (tms) is automatically transferred back into the source monitor setup (sms). - Detecting physical device properties of the target monitor setup (tms); - Receiving requirements of the medical application; - Checking if detected physical device properties of the target monitor setup (tms) are appropriate for the received requirements for displaying images and application windows of the medical application correctly for safeguarding quality requirements for clinical applications and if yes: - Adapting the set of graphical user interface elements (el) of the source monitor setup (sms) by creating an adapted set of graphical user interface elements (el') for the target monitor setup (tms) by generating a runtime instance of a virtual monitor component for each monitor or for each application in the source monitor setup (sms), wherein the virtual monitor component acts as intercepting window in the target monitor setup (tms) so that each of the physical monitors of the source monitor setup (sms) is mapped to a virtual monitor component, and wherein generating the virtual monitor component comprises calculating an adapted set of configuration properties executed by re-setting or newly setting or overriding previous values, which are used for displaying the adapted graphical user interface elements in the target monitor setup, and wherein the method is reversible so that in reply to a reverse signal the target monitor setup (tms) is automatically transferred back into the source monitor setup (sms). - Adapting the set of graphical user interface elements (el) of the source monitor setup (sms) by creating an adapted set of graphical user interface elements (el') for the target monitor setup (tms) by generating a runtime instance of a virtual monitor component for each monitor or for each application in the source monitor setup (sms), wherein the virtual monitor component acts as intercepting window in the target monitor setup (tms) so that each of the physical monitors of the source monitor setup (sms) is mapped to a virtual monitor component, and wherein generating the virtual monitor component comprises calculating an adapted set of configuration properties executed by re-setting or newly setting or overriding previous values, which are used for displaying the adapted graphical user interface elements in the target monitor setup, and wherein the method is reversible so that in reply to a reverse signal the target monitor setup (tms) is automatically transferred back into the source monitor setup (sms).