Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to do control Z operaion

Posted on 2003-12-12
10
174 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Spring Framework HTTPSession management 1 45
What's wrong with this code? 4 26
mysql jsp example issue 32 48
web project error add remove 1 29
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

860 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