Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2007, 05:24 PM
Member
 
Join Date: Dec 2007
Posts: 10
Mr tuition is on a distinguished road
java copy paste cut and undo functions
anyone know of a quick method class or example for right mouse click:
copy paste cut and undo functions?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-09-2007, 01:02 AM
Senior Member
 
Join Date: Nov 2007
Location: Newport, WA
Posts: 141
staykovmarin is on a distinguished road
How to Write a Mouse Listener (The Java™ Tutorials > Creating a GUI with JFC/Swing > Writing Event Listeners)

Copy and Paste is as simple as a acessing the clipboard: Java Tip 61: Cut, copy, and paste in Java - Java World

Undo depends on the kind of action that you want to undo. Do you mean the text that was entered? If you want to undo letter by letter, you can implement a Que system that records every letter entered in a JTextField. Then when the user undoes, you take the last letter add it and remove it from the JTextField (or word, depending on your requirement).
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Undo shortcut malfunctioning. Eranga NetBeans 0 03-31-2008 06:12 AM
Copy n' Paste in JEditorPane wraps text in new css..? Sam AWT / Swing 0 02-06-2008 04:55 PM
undo java new214 New To Java 1 11-20-2007 10:16 AM
how to issue the command of Ctrl-C (copy) in Java bilal_ali_java Advanced Java 0 07-18-2007 04:14 PM
How to implement Cut and Paste Jamie AWT / Swing 2 05-31-2007 07:15 PM


All times are GMT +3. The time now is 05:56 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org