Results 1 to 13 of 13
  1. #1
    christina is offline Member
    Join Date
    Jul 2007
    Posts
    39
    Rep Power
    0

    Default add an undo listener to a Jtable

    I'm trying to add an undo listener to a jtable but could not get it to work. Does anyone know how to add a undo function to a jtable assuming the default cell editor component is a jtextfield?
    thanks

  2. #2
    katie is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default

    Swing undo mechanism is rather complex. You better see a tutorial on Sun's site . Google will help you.

  3. #3
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    You should examine the API of UndoManager class,i used it in my project of Editor.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    Zombie alert: 17 month old thread.

  5. #5
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    This is not a windows installation support forum,it is a java forum,if you have some related questions,please post here,and of course not in russian,post them in language that people can understand them,Thanks.

  6. #6
    Abramovicl is offline Member
    Join Date
    Jan 2009
    Location
    Kazakhstan
    Posts
    1
    Rep Power
    0

    Default Hi , some questions

    Hi , i have some questions about you desing
    maybe you can give designer contacts?

  7. #7
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default In english please...

    Moderators... is there anything we can do about these posts that are not in English? Like erase them?

    Thanks,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  8. #8
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    But is there a specific forum rule about that? Something tells me that in the name of political correctness, there's not. (something also tells me that I'd better start learning Chinese if I want to keep up with the rest of the world!)

  9. #9
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default huh... sorta... yeah

    I'd agree with you Fubarable, but the above isn't Chinese .... more likely languages/dialects form Russia, Ukrane, etc. I find it rude, being an English language forum...

    Learning Chinese does sound fun... probably necessary... hhhmmm

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  10. #10
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    There are abusive links present in some of the posts above. Abuse is being reported.

  11. #11
    angryboy's Avatar
    angryboy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    742
    Rep Power
    6

    Default

    This is an English site, please stop posting in Russian.
    Это Английский сайт, просьба прекратить публикацию на русском языке.
    Last edited by angryboy; 01-29-2009 at 05:07 AM.
    USE CODE TAGS--> [CODE]...[/CODE]
    Get NotePad++ (free)

  12. #12
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    Eranga, can you close this thread, every day annoying spamming posts are posted here.
    Last edited by serjant; 01-29-2009 at 07:50 AM.

  13. #13
    angryboy's Avatar
    angryboy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    742
    Rep Power
    6

    Default

    if its not this, it will be another thread. we must make a stand somewhere.
    USE CODE TAGS--> [CODE]...[/CODE]
    Get NotePad++ (free)

Similar Threads

  1. Undo Folder Drag and Drop
    By natel in forum Eclipse
    Replies: 0
    Last Post: 04-08-2008, 11:01 PM
  2. Undo shortcut malfunctioning.
    By Eranga in forum NetBeans
    Replies: 0
    Last Post: 03-31-2008, 05:12 AM
  3. Listener for SWT event
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-08-2008, 09:04 AM
  4. java copy paste cut and undo functions
    By Mr tuition in forum AWT / Swing
    Replies: 1
    Last Post: 12-09-2007, 12:02 AM
  5. undo java
    By new214 in forum New To Java
    Replies: 1
    Last Post: 11-20-2007, 09:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •