I asked a question about chroots and Java and someone answered with a short answer that gave me ideas on how to do what I wanted to do. I later asked a related question on AskUbuntu. No one answered, but I came up with a working solution which I used to answer my question there.
Should I ask the aforesaid person on StackOverflow who gave me ideas to include more information (maybe from my AskUbuntu answer), just accept his answer as it is, or should I add a new answer, possibly thanking the original person for his ideas? Thanks!