JTree: Updating a single node

I have a Jtree and need, during the course of the apps execution, update the information in the tree, specifically change the icons of individual nodes. setLeafIcon() allows you to change the icon for the entire model, but I just need to change it for individual nodes. anyone else implement this or have any ideas?
thanks.
-karl

ok, i still can't get it working, though im closer.
my problem is that i use a wrapper node(AdapterNode) to wrap Node objects. Inside the AdapterNode is an icon field that gets initialized, then changed dynamically during the execution of the app. Through debuggin over the past 13 hours(ugh), i've found my root problem: the JTree re-renders ALL of its nodes everytime an event is fired. When this happens, it recurses down the tree, and reinitializes all of my icons. (The icons get initialized in the AdapterNode constructor. there is not other place to do this because of the recursion)
I notice that 2 event listeners get registered with my custom TreeModel.
I was thinking about setting a boolean flag for an initial render of the tree, then mark it false and have it update only specific nodes. any suggestions?
thanks.
-karl

Similar Messages

  • OSB: XQuery to update a single node

    Hi,
    I have a large xml and I need to update just one element value in it? What options do I have in OSB message flow for it?
    Thank you
    Matt

    additional to Pierluigi his post
    you can use the array notation for the xml elements to just point immediately to right element
    ./orders/order[1] for example

  • Dynamic JTree; updating the Jtree during app execution

    I have a JTree that renders a DOM Tree. All is well. I can set different icons in the tree depending on the type of node. The functionality I need is to dynamically change the icon in the JTree for a given node. I have a wrapper object that extends DefaultMutableTreeNode and contains an Icon member varrialbe. The problem is that this varriable is initialized by a custom TreeCellRenderer depending on the contents of the node.
    I have also tried having a node_status flag inside my wrapper node, to give the Cell Renderer something to check to determine what to make the icon. The problem, I think, is that the JTree gets rerendered everytime an AWT event is fired; rerendering the JTree causes my wrapper nodes to be reinstanticated thus clearing all information in the Node, including the node_status flag.
    Has anyone done anything similar, or does anyone have any insight into what is going on?
    thanks.
    -karl

    I have figured out my problem and am posting it in the hopes that it helps others.
    I created a custom TreeModel to deal with taking an XML (DOM) Tree and rendering it in a JTree. The problem comes from the custom class that I created to wrap the DOM nodes. The geometry for the DOM tree is contained in the DOM Node (getChild(x), an XML Tree is really just a single node with children, etc) and the problem stems from the wrapper object not knowing about the geometry of the tree except by traversing the tree through the DOM Nodes; since the DOM Node is a member of the wrapper node, traversal through the DOM tree breaks any data stored in the wrapper node which is reinitialized whenever you try to get a node's child.
    Solution:
    Do not render the tree recursivly with the DOM Nodes: render the tree itteratively with wrapper nodes. Because of the frequency the JTree gets redrawn, and thus the TreeModel gets hit with events, maintaining a semi-static tree will keep the information in the nodes.
    -Karl

  • JTree adding to expanded nodes

    Hey,
    I'm writing a program that contains a JTree with two parent nodes and child nodes that are added/removed on demand.
    Basically I can't add child nodes while the parent node is expanded. Following the code it actually does add it, just does not update the display.
    I've tried validate/repaint/anything I could find that may be of some help with no luck.
    Any ideas?
    Thanks in advance :)

    What do you think about the library I created which
    addresses this issue?
    Denis Krukovsky
    http://dotuseful.sourceforge.net/
    I looked at your site and spent 20 minutes trying to figure out why your classes are useful. It's not at all clear why someone should use them. I also looked over your previous posts, but you never seem to explain why someone should use them.

  • Migration ( Splitting Single Node to 2 Node Cross Platform)

    Hi,
    I have 11.5.10 Single Node Installation( Database and Middle Tier) on Red Hat AS 4.0....Both Database and Application Tier on same machine.......
    My Client is insisting me to move Application Tier to another machine having Windows 2003 32bit/64bit...
    How can I do it...
    Can I follow this document........304489.1 - Using Oracle Applications with a Split Configuration Database Tier on Oracle 9i Release 2....
    But above document says...splitting Database Tier to other machine...

    This is just wrong in so many ways...
    1) You will never be able to hot patch on the Windows tier.
    2) You will need to reboot the server frequently to clear memory leaks etc
    3) You will have to reboot after almost every security update for the OS
    4) As stated earlier, you are moving from the primary development platform to like a tier 3 platform
    5) Memory utilization on 32-bit Linux is light years ahead of memory utilization on 32-bit Windows
    Most of us could probably rattle off a dozen more reasons why this is not a good idea...
    You will support more users with a higher quality of service by standing up an application tier node on Linux than you will on Windows. You could also just add a 64-bit linux node and migrate the database to 64-bit there using the split configuration docs and leave you admin/web/forms/CP tier on Red Hat 32 bit.

  • Migrate Single Node 11.5.10.2 --- to --- Clustered Multi Node

    Dear All
    I have a project to migrate a single node 11i EBS to Clustered Multi-node
    & I opened Thread under (Forum Home » E-Business Suite » Technology - LCM: 11i Install/Upgrade)
    the URL is
    Migrate Single Node 11.5.10.2 --->>  to  --->>>  Clustered Multi Node
    Please if you can help me updating that thread with your answers.
    Best regards
    Naji ghanim
    Apps DBA
    TAGITI

    Dear All
    I have a project to migrate a single node 11i EBS to Clustered Multi-node
    & I opened Thread under (Forum Home » E-Business Suite » Technology - LCM: 11i Install/Upgrade)
    the URL is
    Migrate Single Node 11.5.10.2 --->>  to  --->>>  Clustered Multi Node
    Please if you can help me updating that thread with your answers.
    Best regards
    Naji ghanim
    Apps DBA
    TAGITI

  • Installation as single node help needed

    I want to install 11i from cd pack on my laptop running win2000 professional.
    Any help???
    I have access to meta link but I am new , where to look for installation help in metalink?
    Atleast can somebody clear this that CD pack 11i installation need win200 srv or professional if single node installation is intended and databse is vision and not 8i.
    Thanks
    Javed

    When you run the 'Start Here' CD, the webpage diplayed gives a number of links to Metadata.
    # Print and review Installing Oracle Applications.
    Print and review the most up-to-date installation information on OracleMetaLink.
    Release 11.5.5 Release Notes - all operating systems
    Installation Update for Sun SPARC Solaris
    Installation Update for MS Windows NT & MS Windows 2000
    Installation Update for HP 9000 Series HP-UX
    Installation Update for AIX-based Systems
    Installation Update for Compaq Tru64 UNIX
    Installation Update for Linux Intel
    The document 'Installing Oracle Applications' also details some additional documents to review.
    You are also given the information on running rapid Installer.
    Please Note, I found that when running the installer, I ran out of disk space. I de-installed the products, and tried to re-install them. I found I was unable to run rapidwiz.cmd. The result being I have one machine in limbo, until I get a responce to the problem, and I had to re-build a second, to get past the error.

  • Upgradation of Primary (RAC) two node database and single node standby DB

    We have our primary setup in Oracle RAC in 10g R2 (10.2.0.1.0) in HP UX 11i 64bit (PA RISC). It is a two node RAC.
    And we have a single node standby database (DR).
    Both the primary and standby database are existing in 10.2.0.1.0
    We need to upgrade the primary and standby database from 10.2.0.1.0 to 10.2.0.4.0
    Am planning to go through the DBUA method for upgrading the database.
    I like to know is there any special cases for upgrading both the primary and standby database.
    since as i mentioned i will upgrade the database through dbua method, and if i upgrade my standby database as same as primary,
    will it forcefully open the database, because while we upgrade the database through dbua it will open the database at the end of installation.
    Is it possible to upgrade the standby database with DBUA method even when my standby database is in Mount state.
    I will be helpfull if anyone has done this earlier, are there any know issues and is there any good document which i can refer.
    with regards
    A.Aravind

    hi,
    thanks for your reply, and i was following the document.
    I like to know that is it mandatory to create a new Oracle Home for upgrading from 10.2.0.1.0 to 10.2.0.4.0
    or i can proceed the installation of software in the same oracle home.
    I will list out my action plan, please correct me if am wrong,
    In Primary RAC,
    a) Shutdown the database
    b) Shutdown the asm instance
    c) Stop the nodeapps services
    d) Stop the cluster ready services.
    e) Stop the enterprise manager
    f) Stop the isqlplus
    In Standby single node database,
    1)Cancel the managed Recovery process
    2) shutdown the database
    3) Shutdown the asm instance.
    PATCHING Process
    g) Apply the oracle clusterware patch 10.2.0.4.0 in the same old existing ORA_CRS_HOME
    h) Apply the oracle database software patch 10.2.0.4.0 in the same old existing ORACLE_HOME
    Note: In my case both the ORACLE_HOME and ASM_HOME are in the same location.
    i) Execute dbua to update the database in the primary database.
    j) Apply the 10.2.0.4.0 patch in standby database ORACLE_HOME where as ORACLE_HOME and ASM_HOME are in the same location
    k) Copy the recently generated archive logs from primary to standby manually and apply in standby database.
    l) Mount the database in standby
    m) Start the Managed recovery process.
    with regards
    A.Aravind

  • JTree - make visible new node

    I have added a new DefaultMutableTreeNode, as follows, to a JTree:
    DefaultMutableTreeNode root;
    jTree = new JTree(root);
    DefaultTreeModel treeModel = new DefaultTreeModel(root);
    DefaultMutableTreeNode node = new DefaultMutableTreeNode();
    treeModel.insertNodeInto(node, root, root.getChildCount());
    now I want to display this new node in the JTree at run time (i.e. JTree updates and displays new node within GUI).
    (the JTree is within a JScrollPane).
    I have tried methods makeVisible(.), setPathToVisible(.) without success.
    What is the easiest way to do this?
    thanks in advance.

    I've used JTree.scrollPathToVisible(TreePath)

  • Can there be multiple ASM instances on single node?

    Hi,
    Can there be multiple ASM instances on single node?
    This one says No : http://www.freelists.org/archives/oracle-l/02-2008/msg00317.html
    And This one says Yes : http://www.databasejournal.com/features/oracle/article.php/3571371
    Thanks in advance.
    Thanks,
    Harsha
    Edited by: user498756 on Sep 11, 2008 2:23 AM

    ...that document doesnt say you cannot have multiple ASM instances on a node. It says "...ASM, +you only need one ASM+ instance for that computer, to manage the two database instances that use ASM."
    The fact that you only need one - and I cannot think of a good reason to have more than one - does not preclude the fact that you do seem to be able to have multiple ASM instances on a single node, each looking after its own set of disks and diskgroups.
    Again - I cannot think of a good reason to do so though!
    -Bob

  • Convert 11.1.0.7 EBS 12.1.3 single node to RAC with ASM on 11.2.0.3 cluster

    Hi
    I am trying to convert a single node 11.1.0.7 database with EBS 12.1.3 version from single to 2-node RAC ASM on Oracle clusterware 11.2.0.3 on AIX 6.1 - 64 bit
    I am following Oracle metalink document note id 466649.1 . My 11.2.0.3 clusterware is already setup correctly and working fine as per document E24614-03.
    However I am currently stuck in section 3.3:Configure TNS listener (Doc id : 466649.1) . The netca is unable to start the listener and failing with error as below.
    However when I start the same locally from lsnrctl command listener starts.
    trace_OraDb11g_home1-1212159AM174.log
    ====================================
    [AWT-EventQueue-0] [18:34:31:887] [RuntimeExec.runCommand:144] runCommand: process returns 123
    [AWT-EventQueue-0] [18:34:31:887] [RuntimeExec.runCommand:161] RunTimeExec: output>
    [AWT-EventQueue-0] [18:34:31:887] [RuntimeExec.runCommand:164] Attempting to start `ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr
    ` on member `jxn-ux-ebs1d1q`
    [AWT-EventQueue-0] [18:34:31:887] [RuntimeExec.runCommand:164] Start of `ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr` on member
    `jxn-ux-ebs1d1q` failed.
    [AWT-EventQueue-0] [18:34:31:888] [RuntimeExec.runCommand:164] Attempting to stop `ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr`
    on member `jxn-ux-ebs1d1q`
    [AWT-EventQueue-0] [18:34:31:888] [RuntimeExec.runCommand:164] Stop of `ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr` on member
    `jxn-ux-ebs1d1q` succeeded.
    [AWT-EventQueue-0] [18:34:31:888] [RuntimeExec.runCommand:164] CRS-2632: There are no more servers to try to place resource 'ora.jxn-ux-e
    bs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr' on that would satisfy its placement policy
    [AWT-EventQueue-0] [18:34:31:888] [RuntimeExec.runCommand:170] RunTimeExec: error>
    [AWT-EventQueue-0] [18:34:31:889] [RuntimeExec.runCommand:173] CRS-0223: Resource 'ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr'
    has placement error.
    [AWT-EventQueue-0] [18:34:31:889] [RuntimeExec.runCommand:173]
    [AWT-EventQueue-0] [18:34:31:889] [RuntimeExec.runCommand:192] Returning from RunTimeExec.runCommand
    [AWT-EventQueue-0] [18:34:31:890] [HAOperationImpl.runCommand:1221] signed exit value = 123
    [AWT-EventQueue-0] [18:34:31:890] [HAOperationImpl.runCommand:1258] set status HA_RES_RELOCATE_ERR
    [AWT-EventQueue-0] [18:34:31:891] [HAStartOperation.run:84] Returned from executing the HA Operation
    [AWT-EventQueue-0] [18:34:31:891] [HAStartOperation.run:89] OUTPUT> Attempting to start `ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q
    .lsnr` on member `jxn-ux-ebs1d1q`
    [AWT-EventQueue-0] [18:34:31:891] [HAStartOperation.run:89] OUTPUT> Start of `ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr` on m
    ember `jxn-ux-ebs1d1q` failed.
    [AWT-EventQueue-0] [18:34:31:891] [HAStartOperation.run:89] OUTPUT> Attempting to stop `ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.
    lsnr` on member `jxn-ux-ebs1d1q`
    [AWT-EventQueue-0] [18:34:31:892] [HAStartOperation.run:89] OUTPUT> Stop of `ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr` on me
    mber `jxn-ux-ebs1d1q` succeeded.
    [AWT-EventQueue-0] [18:34:31:892] [HAStartOperation.run:89] OUTPUT> CRS-2632: There are no more servers to try to place resource 'ora.jxn
    -ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr' on that would satisfy its placement policy
    [AWT-EventQueue-0] [18:34:31:893] [HAStartOperation.run:95] ERROR> CRS-0223: Resource 'ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.l
    snr' has placement error.
    [AWT-EventQueue-0] [18:34:31:893] [LocalCommand.execute:56] LocalCommand.execute: Returned from run method
    [AWT-EventQueue-0] [18:34:31:893] [HAOperationResult.getOutputAll:114] outLine is [CRS-2632: There are no more servers to try to place re
    source 'ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr' on that would satisfy its placement policy]
    [AWT-EventQueue-0] [18:34:31:894] [HAOperationResult.getOutputAll:115] errLine is [CRS-0223: Resource 'ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_
    JXN-UX-EBS1D1Q.lsnr' has placement error.]
    [AWT-EventQueue-0] [18:36:39:994] [ca.ConfigureListenerOPS.getNodeNameIndex:-1] getNodeNameIndex: Matching LISTENER_EBSQA_JXN-UX-EBS1D1Q
    [AWT-EventQueue-0] [18:36:39:994] [ca.ConfigureListenerOPS.getListenerRootName:-1] ListenerName is LISTENER_EBSQA
    The crsctl has details as below:
    =====================
    NAME TARGET STATE SERVER STATE_DETAILS
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
    1 ONLINE ONLINE jxn-ux-ebs2d1q
    ora.LISTENER_SCAN2.lsnr
    1 ONLINE ONLINE jxn-ux-ebs1d1q
    ora.LISTENER_SCAN3.lsnr
    1 ONLINE ONLINE jxn-ux-ebs1d1q
    ora.cvu
    1 ONLINE ONLINE jxn-ux-ebs1d1q
    ora.jxn-ux-ebs1d1q.LISTENER_EBSQA_JXN-UX-EBS1D1Q.lsnr
    1 ONLINE OFFLINE
    ora.jxn-ux-ebs1d1q.vip
    1 ONLINE ONLINE jxn-ux-ebs1d1q
    ora.jxn-ux-ebs2d1q.LISTENER_EBSQA_JXN-UX-EBS2D1Q.lsnr
    1 ONLINE OFFLINE
    Not sure how to fix this .
    Regards
    Ram

    I am trying to convert a single node 11.1.0.7 database with EBS 12.1.3 version from single to 2-node RAC ASM on Oracle clusterware 11.2.0.3 on AIX 6.1 - 64 bit You don't need to create listeners, after installing 11203 cluster there will be LISTENER running from $GRID_HOME
    along with SCAN_LISTENERS

  • Multiple ASM instances on a single node

    Can i have multiple ASM instances on a single node? This is to have each instance supporting different environment dev,stage etc
    Thanks
    Sannidhi

    I had been discussing the same issue with someone from Oracle. I asked for multiple ASMs on a server so that we could have seperate ASMs running for, say, 10g and 11g.
    He explained that we should think of ASM as being the same as Veritas FileSystem. We don't run multiple instances of Veritas on our servers. On single Veritas "instance" (set of drivers) provides all the Veritas Fx mountpoints on the server. Similarly, there should be only 1 ASM instance on a server.
    (substitute UFS or ZFS or CFS for Veritas in the above example and you still have only 1 filesystem manager on a server providing one type of filesystem, although you could have, say , UFS and Veritas co-exist ; just as you could have Veritas, ASM and Raw co-exist on a server).
    Hemant K Chitale
    Edited by: Hemant K Chitale on Sep 29, 2009 11:50 AM

  • Multiple ASM Instances on single node

    Hi All,
    After going through some threads it seems to me that multiple ASM instances on a node is not supported and recommended by ORACLE but i coudn't find any ORACLE document or support matrix mentioning this. Can any one give me a pointer to this. Please correct me if i am wrong and Multiple ASM instances are fully supported by ORACLE.
    Thanks,

    Multiple ASM instances on a single node are supported but not recommended due to several issues you could encounter during that kind of configuration.
    Possible interraction between those instances for identification of each disk area usage,each disk area permissions , database instance to asm instance mapping and so on, could result in unwanted behaviour, as ASM is in some way just oracle's representation of LVM.
    Intention is that any kind of distinction/separation of oracle related data under the ASM should be done through the disk groups.
    So it seems it would be better to apply this kind of logic rather than doing suspiciously magical and rare configurations that could bring you similiary strange and unexpected problems.

  • BizTalk Mapper - Looping multiple nodes to map to a single node in a single row (flat file)

    Hi everybody,
    I'm still new in developing BizTalk app and require some help in this one problem. Appreciate your time and input to help me on this.
    Basically I have an XML document as input and a flat file as output. Example for input is as per below. The "Contact" node's maxOccurs here is set to unbounded and could be multiple. (phone, fax, website, telex ...)
    <root>
    <CustomerName>Company A</CustomerName>
    <Contact>
    <Type>Phone</Type>
    <Locator>03566789</Locator>
    <Type>Phone</Type>
    <Locator>03566790</Locator>
    <Type>Fax</Type>
    <Locator>03566795</Locator>
    <Type>Telex</Type>
    <Locator>03566798</Locator>
    <Type>Website</Type>
    <Locator>www.companyA.com</Locator>
    </Contact>
    </root>
    The expected output in XML would look like below. The final outcome would be a csv file. Strictly Phone 1, phone 2, fax and telex, the rest would be ignored.
    <root>
    <CustomerName>Company A</CustomerName>
    <Phone1>03566789</Phone1>
    <Phone2>03566790</Phone2>
    <Fax>03566795</Fax>
    <Telex>03566798</Telex>
    </root>
    Example of expected output result (csv file): CompanyName;Phone1;Phone2;Fax;Telex;
    In our case here: Company A;03566789;03566790;03566795;03566798;
    Another example could be: Company B;036778911;;036778912;; if only 1 phone number and 1 fax number provided.
    I've used Table Looping and Table Extractor and nearly got the desired result except that it is represented in multiple rows instead of one: Example:
    Company A;03566789;;;
    Company A;;03566790;;;
    Company A;;;03566795;;
    Company A;;;;03566798;
    Any idea how to do the mapping? I'm kind of stuck here and it sounds like an easy problem but i could not find any example to the solution that I need here. Table looping and table extractor is ok to map from single node flat file to multiple nodes but not
    the reverse like in this example.
    rgds,
    sportivo

    Hi,
    Please refer to below links where similar issue has been answered.
    http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/ecdff241-6795-4a95-bad7-48fca4410dfb
    http://www.epinaki.com/2011/05/other-options-to-using-biztalk-table-looping-functoid-par-i/
    I hope this helps you.
    Thanks With Regards,
    Shailesh Kawade
    MCTS BizTalk Server
    Please Mark This As Answer If This Helps You.
    http://shaileshbiztalk.blogspot.com/

  • How to update a Single App

    Hello,
    maybe its a stupid question, but: how is the updating process using a single app?
    Until now we created auto-renewable apps with newsstand using dps folio producer
    itunes connect and viewer builder. We build the issues at the in-app purchases and
    use the unique product-id we specified before in folio producer. That allows apple
    to find the right issue and allows updates as well, right?!?
    Right now i createad a single app without in-app purchases but i can't specify or
    write anywhere the product-id!? Do i have to publish the folio in folio producer,
    export the hole folio, recreating the hole distribution-viewer and re-upload to
    itunes connect? If we only want to update two stacks, should we update them all?
    I want to repeat my self: its a stupid question, but i have no idea, sorry... I'm a rookie...

    The Product ID in a single-issue app isn't important. Updating a single-issue app is fairly painless:
    1. In Folio Builder/Folio Producer, edit the articles, upload them, update folio, export .zip file.
    2. In Viewer Builder, edit the existing app. Specify the new .zip file. Download, sign and test .ipa file. Download and sign .zip file.
    3. In iTunes Connect, create a new version for your app. Use App Loader to submit new build to Apple.
    Whether you want to fix a single typo or rebuild the entire issue, the steps are the same.

Maybe you are looking for

  • How do I delete a large file without my computer crashing?

    I am playing around with HD video and have a very large Quicktime File (12.5GB) that froze my computer while rendering.  I need to delete it.  (CRASH: screen freezes and dark line slowly comes from top to bottom and once entire screen is slightly dar

  • SSRS TechNet Guru News: October Winners Announced

    All the votes are in!  And below are the results for the TechNet Guru Awards, October 2014 !!!! For a full list of winners, see the full blog post, as runners up had to be removed from this post to fit the forum max length restrictions.  BizTalk Tech

  • Connect my tv-tuner to my ThinkVision L2440p monitor

    Hello Is it possible to have two devices connected to my monitor and switch between them with the button in front of the monitor? I tried to connect my laptop with a vga-cable and my tv-tuner with a hdmi-to-dvi cable to the monitor, but the monitor w

  • Setting S-curve Values in LabWindows​/CVI

    I am using a 7344 motion card in an embedded system without the benefit of MAX, so it is being initialised by adapting the InitialiseFM.c template provided by NI. This works OK until I come to adjusting the S-curve times, but putting different smooth

  • How do I retrieve cache.mov files so I can play them on quicktime?

    Hi, I've recently been deleting files to free up harddisk space and have come upon some cache.mov files. These are videos I regret deleting and have no backups of. When I get info on them if shows the video in the preview, but if I try to open it in