Download bragg.insert.xml
from https://github.com/danielirvingdls/XPDF_Workshop_2024/tree/main/TOPAS%20Tutorials
Paste this file into C:\Users\diamguest\AppData\Roaming\jEdit\xinsert
(if using diamguest PC, if not, it will be your user name!)
This will add the TOPAS_for_Bragg menus into jEdit after pressing the refresh below button.