Consider a simple application that displays a list of files. I would like to display a context menu when a user clicks a file or folder, just as when I right-click in Windows Explorer (open, rename, edit, etc.). I do not want to create my own context menu, I want to show the windows os context menu, possibly using some kind of winapi. This should only work on a Windows machine.
Is it possible to achieve this using Swing or SWT or any other user interface controls?
source share