Apply undo,redo operations on string pool. please friends help me to get its answer.
Jump to Post
Well, you just treat the string with state. You must have 2 dynamic collection variables (possibly
ArrayList) to handle this task. When something is changed, add to undo. When something is undo, pop the item out from the undo list and add it to redo list (and vice versa). If …
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.