How to initialize it again

Hello, I am facing the following problem. In the Program i have many class files. One such file is MainVariable. It contains many STATIC variable whoes initial value=0. But during the execution different classes change the values of these static variable and build an input file.
Now when someone press new. I want that the values of all the STATIC variable be intitialised to its original value. Is there some way to do it.
thanks--reena

Create a property file which initialize all the variables( say property.txt). When someone press new( I guess a button "new"?), this new will envoke this property.txt, then all your static variables are being initialized.
Does my answer match your questions?

Similar Messages

  • How to initialize Button Array at "declaration"?

    How to initialize Button Array at "declaration"?
    Button[] b = new Button[2];
    b[0] = "label" ?
    b[1] = "label" ?
    Again,please at declaration not using setText within main program.

    main...
    Button[] btts = {new Button(...),new Button(...), ...)
    that shold be it
                                                                                                                                                                                   

  • How do I move a movie I have synced from iTunes into the "Movies" tab of the Video App? I need to access a slideshow I made in IMovies and may not have WiFi. I did it once, but can't figure out how to do it again! The file is an m4v. Thank you!

    How do I move a movie I have synced from iTunes into the "Movies" tab of the Video App? I need to access a slideshow I made in IMovies and may not have WiFi. I did it once, but can't figure out how to do it again! The file is an m4v. Thank you!

    Im just guessing but it seems like you would have to get your movie into the correct folder on a computer then use iTunes to sync it to your iPad. If you've synced to a computer and have movies then on your computer should be a folder with the movie in it. You could export your iMovie to something like Dropbox then download from Dropbox to the folder you think it needs to be in the sync your iPad again. Again this is just a guess. Others may have a better answer.

  • How can i stay in time line view when i press record in garageband 1.2 for ipad. I know it's possible because i did it by accident, but i can't figure out how to do it again. It's driving me crazy....please help!!!

    How can I stay in the timeline view and not switch to instrument view when i press the record button in garageband 1.2 on ipad 2 ? I know it's possible because i did it by accident,but now i cannot figure out how to do it again. It's driving me insane......please help!!!

    After having experienced similar problems and having it back to work, I have a few suggestions:
    - Try to find out if the syncing stops at a particular track or song. That might - out of the blue - have gotten corrupted in one way or another. Since that song will not be on the iPod, iTunes will try over and over to put it on and crash in one way or another;
    - reformat the iPod as described in the iTunes 9 crash-thread. It takes time (at first it seems to do nothing, but that is because the green bar is moving with very small steps);
    HTH

  • TS1424 My Apple ID has been disabled, it won't let me updated my previous purchases. No reason for why it has been disabled or how to enable it again. I reset my password, security questions and billing info. Nothing- Anybody has seen this before?...

    My Apple ID has been disabled, it won't let me updated my previous purchases. No reason for why it has been disabled or how to enable it again. I reset my password, security questions and billing info. Nothing… I even called Apple SUpport 1-800 # and they said they can't help me...Anybody has seen this before?...

    You need to contact itunes support.
    http://www.apple.com/support/contact/
    There is NO telephone support for itunes.  Use the link above.

  • How do I re-download podcasts? My external hard drive failed and I can't figure out how to download them again in the updated iTunes.

    How do I re-download podcasts? My external hard drive failed and I can't figure out how to download them again in the updated iTunes.

    The Time Capsule drive is a network drive. You have to mount it on the desktop before you will be able to drag/drop files onto the disk. More tips are in this thread:
    https://discussions.apple.com/message/17312017#17312017
    .....and then delete them from the Mac to free up space?
    The Time Capsule was designed for your backups.
    If you move a file to the Time Capsule drive and delete the file from your Mac.....you have no backup. 
    Your only copy of the file will be on the Time Capsule drive. I would only do this with files that I could afford to lose.
    All drives fail. When.....not if....the Time Capsule drive has a problem, you will lose your data.

  • I want to reinstall my CC on a new computer but I lost my redeem code. How I can receive again my code by email. Thanks.

    I want to reinstall my CC on a new computer but I lost my redeem code. How I can receive again my code by email. Thank

    If you have already used your code, your subscription will show in your account https://www.adobe.com/account.html
    If you have an active subscription, you sign in to your Adobe account and install
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    http://www.adobe.com/products/creativecloud/faq.html
    http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
    What it is http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
    Cloud Getting Started https://helpx.adobe.com/creative-cloud.html
    Otherwise... did you buy a subscription direct from Adobe, or from some other vendor?

  • HT201263 Hi Concern,i have updated my iphone 4 to ios7, now it becomes too much slow.all the applications take time to open, its touch response also became slow. How to update it again to ios6 please help

    I have updated my iphone 4 to ios7 few days back, After that it becomes too much slow.all the applications take some time to open,
    its touch response also became slow. .
    One of my friends has also updated his iphone 4 to ios7,it is also facing the same problem.But the friend having iphone 4s is not facing any
    problem with this new version.What i think iphone 4 has not too much good processor like iphone 4s & 5 to get it updated to ios7.
    It destroys all the entertainment of using iphone.
    How to update it again to ios6.
    iphone 4 users please dont update iphone 4 to ios7.please

    Sorry, but Apple does not provide a downgrade path for iOS.
    Because downgrading is unsupported by Apple we cannot discuss it on these forums, but you can use Google to find information on how to install an older version of iOS on any device.
    Note that you will void the warranty and loose official support by Apple.
    Feel free to let Apple know at http://www.apple.com/feedback
    Anyway, give a try resetting all your settings:
    Settings > General > Reset > Reset All Settings

  • I have adobe export PDF since a few months but since yesterday I can't export my PDF documents to word ! can you tell me how to do it again?

    I have adobe export PDF since a few months but since yesterday I can't export my PDF documents to word ! can you tell me how to do it again?

    Hi ceop,
    It seems earlier you were able to use it.
    It is not clear why you are facing this issue now.
    You can try it with another pdf file,It might be possible that there is some issue with your pdf file.
    Regards,
    Florence

  • How to initialize a Type Object??

    Hi,
    I have a procedure as below, which has type t_r_rep_data and a table having this type as record, but when I called this procedure, it has ORA-06530 error: Reference to uninitialized composite. Can you tell me how to initialize a type Object?
    Also, is it this the right way to insert a type record into the table, or can I just just INSERT statement?
    Many thanks
    PROCEDURE add_row
    ( in_row_type_ind CHAR,
    in_ordering VARCHAR2
    ,in_record_type VARCHAR2
    ,in_level1_value VARCHAR2
    ,in_level1_description VARCHAR2
    ,in_level2_value VARCHAR2
    ,in_level2_description VARCHAR2
    ,in_level3_value VARCHAR2
    ,in_level3_description VARCHAR2
    ,in_level4_value VARCHAR2
    ,in_level4_description VARCHAR2
    ,in_amount_as_of_date1 NUMBER
    ,in_amount_as_of_date2 NUMBER
    ,io_table IN OUT t_ntr_rep_data
    IS
    l_row_count NUMBER;
    l_row t_r_rep_data;
    BEGIN
    -- ??? not sure where and how to do the initialization bit
    l_row.row_type_ind := NULL;
    l_row.ordering := NULL;
    l_row.record_type := NULL;
    l_row.level1_value := NULL;
    l_row.level1_description := NULL;
    l_row.level2_value := NULL;
    l_row.level2_description := NULL;
    l_row.level3_value := NULL;
    l_row.level3_description := NULL;
    l_row.level4_value := NULL;
    l_row.level4_description := NULL;
    l_row.amount_as_of_date1 := 0;
    l_row.amount_as_of_date2 := 0;
    SELECT COUNT(*)
    INTO l_row_count
    FROM (TABLE(CAST(io_table AS t_ntr_rep_data)));
    l_row.row_type_ind := in_row_type_ind;
    l_row.ordering := in_ordering;
    l_row.record_type := in_record_type;
    l_row.level1_value := in_level1_value;
    l_row.level1_description := in_level1_description;
    l_row.level2_value := in_level2_value;
    l_row.level2_description := in_level2_description;
    l_row.level3_value := in_level3_value;
    l_row.level3_description := in_level3_description;
    l_row.level4_value := in_level4_value;
    l_row.level4_description := in_level4_description;
    l_row.amount_as_of_date1 := in_amount_as_of_date1;
    l_row.amount_as_of_date2 := in_amount_as_of_date2;
    io_table(l_row_count+1) := l_row;
    END;
    --------------------------------------------------

    Simply write a stud which queries the Oracle Dictionary tables which will return Object Type
    Based on the object_name and User_name

  • My ipad is locked how can ı open it again, my ipad is locked how can ı open it again

    my ipad is locked how can ı open it again, my ipad is locked how can ı open it again

    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup).
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.
    You may have to force iPad into Recovery Mode
    http://support.apple.com/kb/ht1808

  • Some of the songs I bougth are not complete. How can I download again?

    Some of the songs I bougth are not complete. How can I download again?

    1. delete this music from your device
    2. go to itunes store - music (Purchased)
    3. download it again.

  • In Office 2011 the function "share it by e-mail" seems to be disabled. that happened recently, just after the apple update regarding Java. Any idea on how enable this function again?

    in Office 2011 the function "share it by e-mail" seems to be disabled. that happened recently, just after the apple update regarding Java. Any idea on how enable this function again?

    I was able to get to a support person who helped me fix this without charge. I guess it was my bad for not trying the right way to access support.
    Anyway, they answer is this.
    I had to create a new account on my computer. When I logged into the new account it immediately wanted an AppleID. I used my daughter's e-mail address for the AppleID. This setup the internet accounts correctly with her iCloud.com e-mail address. I was then able to access e-mail in both the browser and Mail. Not that complicated but nothing that I would have easily thought up on my own.
    Thank Apple Support!

  • How to Initialize a workflow from Application using CIS

    Hi,
    I am new to the (Stellent) UCM, And could not find a way to initialize a workflow from CIS, Someone's help is greatly appreciated.
    All i can find in forums about the workflow with in the Stellent Interface. But No one talking about how to initialize or call a workflow and use it from the application perspective.
    Your help is greatly appreciated.
    Thanks In Advance.

    CIS is one of the UCM Java API sets that you can use to connect WCI with the content server - it is on the WCI side of the fence, technically, but help can be found all over.
    If you call the checkin service - typically I use CHECKIN_UNIVERSAL, which is also the service that gets invoked by the ISCSDocumentCheckinAPI checkinFileStream(...) service. If the metadata matches something that triggers the workflow, you will have an item in the workflow queue.
    Be warned - from what I understand, the CPS portlets used a checkin API that does not trigger workflow, even if there is a matching criteria.

  • After my computer has been sent to Apple my password is not working, how can I login again?

    Hello, after my computer had been broken I sent it to apple, but somehow I can not login and I am using a guestuser right now. I am pretty sure that I am using writing in the right password but it does not let me in. How can I login again?

    change the password.  10.6, 10.7

Maybe you are looking for

  • Unable to activate Genius

    I am unable to activate Genius since upgrading to Windows 7. Prior with Vista and iTunes 9 Genius worked fine. Upgrade to Win7 and I cannot activate Genius. It goes through step 1 fine then goes into step 2. It pops up an error message after about a

  • Move graphics with text--but not inline--in PM...??

    Hello, is there a way in PageMaker to move graphics with text but not inline? I ask because right now I see two options for graphics: --inline, so you cannot place the graphic exactly where you want AND the text only flows way above or below--but not

  • Speed grade CS6 crashes every time I try to open it

    I looked up my Speed Grade CS6 and it stated it worked with OS6.8 and OS7. Well, mine will not open, it crashes every time i try to open it.  I have and older Mac Pro 1.1 and can back door it and different processor but am I wasting my time and money

  • How do I get Firefox's home page to open a new tab when searching?

    I'm slightly modifying Firefox's about:home page, and I'm trying to get the home page to effectively be its own app tab. In order to do that, I need to make it so that when I search with it, it opens a new tab to view my search results. I've tried tw

  • FAST ACCESS FACIAL RECOGNITION WON'T WORK ON DELL STUDIO 1555 SINCE MOZILLA UPDATE

    When Firefox updated my Facial Recognition Fast Access on Dell Studio 1555 no longer works. The box shows up but not green line around it