Forums Register Login

undoProblem

+Pie Number of slices to send: Send
I am also having a problem with undo and redo... Please help me again...
I have here my program codes...
This is an SSCCE...

+Pie Number of slices to send: Send
I'm sorry, but you have to be kidding. There is nothing "short" about this code excerpt. Plus, how are we supposed to figure out what's going on if you neither describe what the code is supposed to be doing, nor what it is actually doing?
+Pie Number of slices to send: Send
So it has to be really short?

Oh my God, I dont know how to make that short because I guess this is the shortest it can be. All the codes here are necessary to run the program and address my problem.

This program is a notepad...
The problem here is that I am trying to make the program capable of using undo but the problem is it cannot tell weather an action happened.
[ July 11, 2008: Message edited by: eLL Pascual ]
+Pie Number of slices to send: Send
 

Originally posted by eLL Pascual:
...The problem here is that I am trying to make the problem capable of using undo but the problem is it cannot tell weather an action happened.



Well you can always confirm this either by running your application in a debugger or having SOP statements in your actions.

These links might also be useful.
http://jroller.com/santhosh/entry/implementing_undo_redo_in_right

http://jroller.com/santhosh/entry/implementing_undo_redo_in_right1
[ July 01, 2008: Message edited by: Maneesh Godbole ]
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1375 times.
Similar Threads
display contents of a text file in a new window
Exception Null
mousePressProblem
Menu+Tool
JMenuItem.setMargin
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:15:38.