http://www.fifesoft.com/rsyntaxtextarea ... ample3.php
you describe how to extend the current JPopupMenu.
But I wanrt to have my own one.
Is it possible to empty the existing one, so that I can fill it like in example3 with all of my own selections?
Or is it possible to disable it?
I have created my own one. On windows it replaced completely yours.
But on Linux, after my own JPopupMenu closed, yours opened. So it would be helpful, if there is a possibility to disable yours or to empty it, so that I can fill it completly myself.