Hi Guys
I’m trying to implement Windsurf like In editor diff viewer which can accept and reject the code as seen in image.
Goal is to populate the code coming from agent and let user accept or reject the code inside editor as seen in the image.
Can you suggest how to implement this in java swing
