Hey There Everyone,
Sorry if this is in the wrong place, really isn’t necessarily for game development sooooo just didn’t think another spot was really relevant.
I’m trying to make a JTextArea that can be accessed by two or more people on different computers, two for now, and edited simultaneously. It’s actually an interesting problem, although perhaps just for me since I’ve only been coding for 3-4 months, all of which in Java. The issue is preserving both people’s inputted text. The analogy I use is that if two people simultaneously edited a wikipedia page, ultimately the last person to click confirm would be the one whose information would be shown at the end of the day, which cannot happen in this case. Text needs to be sent constantly between all clients, but what is inputted needs to be preserved. This is probably a far bigger project that I am imagining, and right now I think it’s pretty big, but it seems like fun so, any thoughts on how I could be addressing this issue? If you need a more in depth explanation or some code, feel free to ask.
Ignasis