Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

How to do control Z operaion

I want to do control +Z key operation can anybody explains me how can i do that.
0
ashokvardhan_g
Asked:
ashokvardhan_g
2 Solutions
 
CEHJCommented:
Have a look at UndoableAction
0
 
ashokvardhan_gAuthor Commented:
but i want to code that in key board option by pressing control+Z how do i do that
0
 
girionisCommented:
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
CEHJCommented:
That link shows the way to do the key part of it. I meant UndoableEdit btw, not UndoableAction. Of course, using the key approach, you could create an Aciton subclass called UndoableAction
0
 
CEHJCommented:
The javax.swing.undo package is centred around this functionality, e.g. http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/undo/StateEditable.html, but i'm afraid i'm not familiar with it.
0
 
objectsCommented:
Can you explain what you actually want Ctrl-Z to do?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now