Swing .............how to undo the changes made by user

Hi,
i have created a form in swing asking for the related information from user whose value i m taking in jformetted textfield.
now i have placed two buttons there.
one is Apply and second is Cancel.
when user pressed Apply button all the changes made by the user must be set where as if user clicks cancel button all the changes made by user should be undo to previously set value.
can anybody help me how this can be done and what code should i write in action performed method
thanks in advance
plz reply

thanx.
one more thing
In my application,there is one Button called Option when u clicked on it.It opens up one internal frame where user is asked to asked to fill some parameters.
1) Now how can i restrict user to create one more internal frame unless first one is closed.
2) suppose i clicked option button and it opens up internal frame where i can set the parameters and closed it.If i again click on option then i want the parameter to have wht i just set.
3) and how can pass those parameters value to my main frame from where i m calling internal frame
Plz reply
Edited by: neel007 on Mar 11, 2009 8:02 PM

Similar Messages

  • How to see the changes made for iPad in iTunes on my iPad?

    How to see the changes made for iPad in iTunes on my iPad? I've been transferring some pdf-files and changed the name on them in iTunes under the index books for my iPad device, but the changes do not show in iBooks-PDF. What to do?

    Yes I tried syncing a lot of times, but the changes still wouldn't show, so I did as you said by beginning from the start by adding the PDF's once again.
    Thanks for your help, it works now :-)

  • How to know the changes made to Quotations & Sales orders?

    Hi all
    I want to know how we can have the records of changes and alterations that are made in quotations and Sales orders. For example, once the quotation is created and saved, there must have been many alterations either on pricing or in terms & conditions based on the final negotiations with the customer. Please let me know how do we record the changes.

    Hi,
    what ashish told is exactly correct.You just go to the Environment-changes and execute,it will shows all the changes made for that order like pricing,payment terms etc.
    Regards,
    Hari.

  • How to find the changes made in spro configuration?

    Dear Friends,
    From my client side, some configuration changes were happened directly to production client not by the consultants. How to trace this that what changes have been made through log or table. We found that in spro->utilities->change log is in switched off mode. We came to know that through this log we can find the changes happened or not. Is it so? or is there any other solution to trace it?
    Please advise.
    thanks & regards
    sankar.

    thanks friends for your prompt replies.
    But, as i said clear, the changes made to production client directly and not by any request. How can we detect who has changed the log settings.
    ****Default account assignment configuration was changed.
    Please advise.
    thanks & regards
    Sankar.

  • How to see the changes made in tx code MN05

    Hi all,
    Do you know how can I see the changes made in tx code MN05?
    I need to know when was The output condition updated? Do you have a change record on this change?
    Thanks and regards

    Hi,
    There is a Transaction code SCU3 to display the change logs
    Goto the Transaction code and enter the  Table for MN05 and execute, it will display all the logs for MN05.
    If you didnt find any change logs here, then you have to activate the Change logs for this table.
    To activate the change logs , goto SE11 and give the table and clcik on the technical settings and you will find the Check box with CHANGE LOGS.
    Check whether it was activated or not, if not activate it.
    Thanks,
    santosh

  • How to undo the changed record!

    Hi
    I have edit a record in my form (haven't been saved). Now, I want to undo the changes on my record. How can I do that?
    Thanks
    null

    lenyhu,
    Since get_item_property always returns a varchar2 value, your line:
    .. rowidtochar(get_item_property(:system..is the cause of the error.
    I'm not exactly sure why do you want to use rowids, when you can copy the database value back into the item.
    Please take a look at the code below, which you can copy to the When-Button-Pressed trigger of your UNDO button:
    declare
    l_first_item varchar2(100);
    l_last_item varchar2(100);
    l_curr_item varchar2(100);
    l_curr_block varchar2(30);
    begin
    l_curr_block := :system.cursor_block;
    l_first_item := l_curr_block | |'.'| | get_block_property(:system.cursor_block, first_item);
    l_last_item := l_curr_block | |'.'| | get_block_property(:system.cursor_block, last_item);
    go_item(l_first_item);
    l_curr_item := :system.cursor_item;
    while l_curr_item <> l_last_item loop
    copy(get_item_property(l_curr_item, database_value), l_curr_item);
    go_item(get_item_property(l_curr_item, nextitem));
    l_curr_item := :system.cursor_item;
    end loop;
    record_property(:system.cursor_record, l_curr_block,
    status,
    query_status);
    go_item(l_first_item);
    end;I believe this code is 100% generic.
    Please, don't forget to change the UNDO button's Mouse Navigate and Keyboard Navigable properties both to NO.
    If you have any problems understading my code, just ask.
    Hope this helps,
    Pedro
    null

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • Undoing the changes made to DSO

    Hi
    One of our developers had modified one DSO and its transformation etc long time back and since the change was put on hold did not transport it to Quality or Prod. Now we have to make other changes and transport these. Is there any way to identify the changes made before, other than manually comparing with Prod and removing one by one.
    Is there any table which has change version or some other info.
    Please let us know.
    Thanks In Advance
    Aparna

    Hi Aparna,
    Not sure about transformations, but you can get for the DSOs by a roundabout technique. In your DEV box, go into SE11 and open up the active data table of the DSO.
    Then, follow the menu path Utilities --> Versions --> Version Management. A new screen will open up, and at the top there will be a button called Remote Comparison. Click it, and then enter your production system's ID in the Target Sys field.
    It will then show you a list of differences between the production and the development DSOs. This should avoid the manual comparison bit for all the InfoObjects, though you'll still have to check manually for stuff like Nav Attribs, DSO properties etc.
    Regards,
    Suhas

  • How to stop the changes made for the BP in CRM not to update in R/3

    Hello Gurus''
    we are in need of help......i have an issue...the issue is
    Wht ever the changes we do in crm , need to be not updated in r/3 ....for example if we change the the language for the BP 100 in CRM, it should not update in R/3
    Where as in our case the data is updateing in R/3
    Here by requesting you all to help me out how to stop the updaation of some changes  which are made in CRM , that should not be in R/3
    Point will be given......
    Regards
    sreeram Raghu

    Hello
    Thanks for ur reply.........
    We have the following business process
    We create BP with role prospect in CRM, once the prospect is ready to buy the product we conver the prospet in to customer and thesame  customer is replicated in R/3 fro sales.
    What i am looking at is for the customer we created in CRM if we change any data that should be updated in r/3..it may be nay like name address ...language....etc.....
    can u help me out...as u told me to unassig/delete the subcription:All Business partner(MESG) under that we have --
    >publication>All BP(MESG)->Replication object-->Bupa_Main
    >Sites-->SQ1_300
    If we do this process does the issue will fix or else we need to do soem thing more...
    Thanks in advance
    Regards
    Sreeram Raghu
    +91-99 94 94 82 72

  • How to trace the changes made by other user in portal

    Hi All,
    Actually i have a requirement like, some body has done some changes in Development server how to trace those chnages in portals or Visual Admin (who is the user and what are all the objects that got changed) .
    Actually our development system , Quality and Production systems are working fine till yesterday but when we logon to the dev, qua, prd systems today there are some changes and some of the things are not working client was asking us whether we have done some canges if not who has done the changes.
    Is there any place where all these changes can be recorded (likes who is the user and changes ....) or traced like log files or any thing else
    Can any one help me out in this regard.
    Thanks & Regards,
    Ramesh.

    Hi ,
    As you told some changes identified. so navigate to corresponnding portal obejcts and find modified and last changed by similar properties in the property editor object.
    portal activity reports gives how many users visted specific pcd object but not who visited. You can use pcd filter to compare properties.
    Regards,
    Koti Reddy

  • How to Know the changes made on a program and complete activity on it

    Hi abapers,
    I want to know who is working on a particular report currently and check the complete activity like changes made on the report.
    Is there any transaction to check this, please let me know
    Thanks in advance
    Bond

    Hi,
    See also this help on version management
    http://help.sap.com/saphelp_nw2004s/helpdata/en/57/38e0fb4eb711d182bf0000e829fbfe/frameset.htm
    Eddy
    PS.
    Did you (and your colleagues) put yourself on the SDN world map already? Pls check
    /people/eddy.declercq/blog/2006/06/14/from-the-grumpy-old-man-hoy-en-el-mundo
    for details.

  • How to reverse the changes made in a report program

    Hi Friends,
        I want to change a report program,but this report program is locked under one tp which is not yet released and it is in development only .I want to change the same report program but don't want to keep the changes done in the existing tp.I want to keep only changes which i will do.
    Please help me to achieve this task.
    Thanks in advance.
    Regards,
    Rajesh

    hi
    if u have done<b> Version Management</b> then u can retrieve the previous version of ur report
    <b>Version Management is done in utilities -> versions ->Version Management</b>
    otherwise its not possible.
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • How to propagate the changes made in Essbase outline to Planning

    Hi,
    I have created a userdefined dimension called 'Product' with one member 'SampleProduct' in planning. I logged into essbase and accessed the outline created for the plan type. In the outline, under product dimension, I have created one more member called 'ChanduProduct' and saved the outline. what should I do to see the new member created in essbase outline in Planning application?
    Similarly I changed the density of Product dimension from sparse to dense in essbase. How can I propagate this change to planning application? Please tell me whether we can do this operation or not. If yes, how to do?
    Thanks in advance,
    Chandu

    Hi Chandu,
    the outline of planning is stored in sql repository.
    when you refresh the planning application using manage database in administration; all changes from planning will propagate to essbase.
    you should not make changes in essbase outline.
    all changes in outline should go through planning web application (this is one of the best practices)
    hope this helps.

  • How to reflect the changes made in the internal table?

    Hi,
    I changed one field of the internal table.
    i used
    modify workarea.  in the loop.
    when i am debugging that row is getting modified but after execution when i am displaying that changes are not reflected. why?

    hi it should work, just check whether u have worked correctly with SY-TABIX..
      LOOP AT T_VBRK_VBRP.
        V_SYTAB = SY-TABIX.
        AT NEW VBELN.
          READ TABLE T_VBRK_VBRP INDEX V_SYTAB.
          READ TABLE IT_VBRK WITH KEY VBELN = T_VBRK_VBRP-VBELN.
          IF SY-SUBRC = 0.
            T_VBRK_VBRP-FKDAT = IT_VBRK-FKDAT.
            MODIFY T_VBRK_VBRP  TRANSPORTING FKDAT
                      WHERE VBELN = IT_VBRK-VBELN.
          ENDIF.
        ENDAT.
      ENDLOOP.
    <b>Check this code too where we assign Sy-Tabix to another variable</b>
      LOOP AT IT_VBRK.
        CTAB = SY-TABIX.
        LOOP AT IT_T001 WHERE BUKRS = IT_VBRK-BUKRS.
          IF SY-SUBRC  = 0.
            IT_VBRK-BUTXT = IT_T001-BUTXT.
            MODIFY IT_VBRK INDEX CTAB.
            CLEAR CTAB.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    <b>Award points if found helpful</b>

  • How can i save changes made to user accounts?

    Hello everybody!
    Well, this is my very first question to the community and i really hope you guys are able to help me!
    Now my problem is as followed: On my MacBook Pro i use an Admin Account for personal usage, and then i got a Guest Account for everybody else than myself using my Mac.
    A few days ago i spent almost an hour setting up my guest account in appearence and other general settings, i.E. the trackpad reaction or multi touch gestures. Afterwards, i logged out my guest account and shut off my mac. Then, another day afterwards i restarted my mac and checked, if those changes took effect. Now, surprisingly, the Guest User account was completely resettet and used something what looks to me like a standard setup.
    How can i change this? How can i set up a Guest Account with certain rights, a specific wallpaper and only selected apps available?
    Thank you for your help and have a nice day!

    That is what the Guest User account is for - did you see this when you logged out of the Guest Account?
    What you need to do is to set up a new account that is not the system installed Guest Account with a name of your choosing.
    Regards.
    Colin R.

Maybe you are looking for

  • Macbook Pro (17-inch, Mid 2009) external monitor static

    I've had this problem ever since I bought my macbook pro a year and a half ago. I like to connect my macbook pro to a Sony Bravia TV (model: KDL-26P3000) via an HDMI cable and mini displayport to hdmi adapter. Every few minutes or so the image turns

  • Can't change permissions for another account

    I went to my admin user account and then went to accounts and unlocked it to be able to manage another account and want to change the permission to allow admin permissions but it isn't allowing me to click on the other accounts to change anything....

  • Networking with a Windows 7 PC

    I have never done this in OSX, however I did this all the time in OS 7-9.x and the process seems different. In those days one need Thursby's Dave to do this, but these days its all built within the OS. Okay so lets say I only want to share one file h

  • Retail: Maintain pricing conditions at general article level in PO

    Hi, I create a seasonal purchase order. In this purchase order I enter a general article with several variants. Is there a possibility to maintain pricing conditions at the header item level which will be copied to the variants. NB: these surcharges

  • Regarding finding table  (Very urgent)

    Hi Experts, I need to get the table which contains details of Invoicing date, Invoicing quantity, Invoice value, bill to party for which invoice is created. I also need which table contains free goods determination data, i.e i need table that contain