Solved

How to do control Z operaion

Posted on 2003-12-12
10
173 Views
Last Modified: 2006-11-17
I want to do control +Z key operation can anybody explains me how can i do that.
0
Comment
Question by:ashokvardhan_g
10 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 9928150
Have a look at UndoableAction
0
 

Author Comment

by:ashokvardhan_g
ID: 9928158
but i want to code that in key board option by pressing control+Z how do i do that
0
 
LVL 35

Accepted Solution

by:
girionis earned 25 total points
ID: 9928176
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 35

Expert Comment

by:girionis
ID: 9928195
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9928203
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
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 25 total points
ID: 9928259
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
 
LVL 92

Expert Comment

by:objects
ID: 9930953
Can you explain what you actually want Ctrl-Z to do?
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mockito example issue 8 72
micro services spring boot application error 3 183
what is a "java.lang.System Property"   ? 20 65
jboss wildfly 10.1 10 80
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question