Solved

How to do control Z operaion

Posted on 2003-12-12
10
175 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
[X]
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
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 60
ejb entity bean example 2 38
Java syntax, or is it Selenium 6 43
What is the use of Forwarding Class in java 1 37
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

726 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