JTREE: Custom TreeModel does not update non-root nodes

I have a JTree that uses a custom TreeModel that wraps over (delegates to) a data class X which keeps track of all its children. The class X maintains its own data structure internally (references to other data objects). It also implements 'equals' and 'hashcode' methods. When the data changes in X, it invokes fireTreeStructureChanged on the TreeModel. (There is a TreeModelListener registered with the TreeModel). This works very well for the root node but not for the other non-root nodes. The JTree correctly calls 'equals' and I can see that equals returns 'false' but for non-root nodes the JTree does not refresh though I can see the underlying data structure has changed.
I am wondering if I may not have fully & correctly implemented fireTreeStructureChanged as it doesn't seem to do much. Or I may be looking at the wrong place. Any pointers would be appreciated.
BTW, this question is very similar to one asked years earlier http://forums.sun.com/thread.jspa?threadID=153854 but it didn't help me :(
Thanks.
ps: working with jdk1.6.0_06 on WinXP.

I have a same problem. I got an error "Cannot Update Libray".

Similar Messages

  • OOTB Approval Workflow on Custom List does not Update Approval Status

    I have a custom list on which I've required content approval.  I then created a workflow instance from the "Approval - SharePoint 2010" template.  For this workflow I have selected "Update the approval status after the workflow
    is completed (use this workflow to control content approval".  When I approve the list item via the workflow task item the status of the item is not updated but stays at pending even though the
    workflow shows "Completed" with the Outcome of "approved".  Is this the expected behavior, i.e. does "Update the approval status after the workflow is completed (use this workflow to control content approval"
    not work for custom lists?  Does it work on any of the lists?

    Hi Kalos1840,
    If you check "Require Content Approval" setting, only the way above can update the approval status due to the approval status is for this approval workflow. As this approval workflow cannot achieve your demand, I recommend you un-check "Require Content Approval"
    setting and create a custom workflow such as the OOTB Approval Workflow or SharePoint Designer workflow.
    Here is the steps of a SharePoint Designer workflow:
    1.Go to your custom list , click Create a Workflow in SharePoint Designer.
    2.Add a “Start a task process” action in your workflow.
    3.Click “these users” and Start a Task Process edit page will pop up.
    4.In the Participants field, input your  approvers based on the order of approval.
    5.In the right of Participants field, select “Serial (one at a time)”.
    Best  Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • BAdi FMBW_CUSTOMER for Screen 2010 with customer subscreen does not update?

    Greetings,
    Trying to implement this BAdi (FMBW_CUSTOMER) but it doesn't update the FMBH customer defined fields.
    It seems to do OK in the PBO - meaning it gets the correct data from the dB table.
    It seems to recognize the PAI custom fields - it comes back with the correct user input.
    But in the end - I can't get it to update the table.
    Anyone been able to get this BAdi to work?
    P.S. I have read the documentation for it and have spent extensive time in debug.

    Hi,
    Create structure CI_FMBH with your added custome fields and see whether those fields are available to you at the time of save......
    Thanks,
    Shailaja Ainala.

  • Only VBA does not recognize non-English characters

    Hello guys,
    I have a new laptop with Windows 8.1 bought in the USA and I'm having a difficulties with Excel VBA (Office 365 University-64x bought in the Czech Republic - Central Europe). The VBA does not recognize non-English characters (particularly "ř" and
    "ů") which causes me problem when running some codes that I wrote earlier on my previous laptop (Windows 7, bought in the Czech Republic with the same Office). 
    The problem with non-English characters has occurred only in VBA so far, otherwise I can use these characters normally in Excel cells, Word... I tried to install both English and Czech version of the Office with no change, I also installed Czech proofreading
    tools and set everything to Czech in the Office. The location and language preferences in the Windows are also set up to Czech. And it is not a problem of a font. I also mentioned that when I tried to look up these characters, using Ctrl+F, it changes
    original ř to r after a search and again this is only an issue of the VBA.   
    Thank you very much for any help.
    Tom

    Hi Tom,
    VBA for Excel can only recognize ASCII code from 0 to 255, if you use other special characters like "ř" or "ů", it will returns 63(?) to you. To use this kind of characters, you have to utilize ChrW function to parse a decemal to the
    character.
    http://msdn.microsoft.com/en-us/library/ee177465.aspx
    for example, the hex code and dec code for these two characters are as below:
      Hex   Dec
    ř 159   345
    ů 016F  367
    So to get these two characters in VBA, you could code as below:
    ChrW(&H159) or ChrW(345)
    ChrW(&H16F) or ChrW(367)
    You can get the hex code of the character by searching in the system character map(in the Win8.1 start view, search "character map"), then convert the hex code to decimal code by yourself.
    Range("A1").Value = ChrW(&H159) & ChrW(&H16F)
    Range("A1").Value = ChrW(345) & ChrW(367)
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Yahoo finance portfolio does not update in firefox but is fine in Chrome and IE9

    This problem did not exist under the previous version of Firefox. One can access Yahoo finance my portfolio ok but even with streaming quotes on the portfolio does not update.
    Problem now solved. It was an issue of the Kaspersky root kit certificate

    I don't know if it matters, try this url instead, which is a secured one (https):
    https://twitter.com/

  • SSRS 2012 (SP Integrated) report on SP 2013 PerformancePoint Dashboard: when too many filter items selected together report does not update anymore!

    I am having a situation with SSRS 2012 (SP-integrated) report rendered on SP 2013 PerformancePoint Dashboard using linked PerformancePoint (PP) filters.
    The report works fine as long as too many PP filter items are not selected at the same time. When gradually selecting more items from the filter, the report updates itself until more than a sepecific numer of filter items are selected - the report simply
    does not update itself anymore. This "specific number of filter items", when hit, generates the following error in ULS:
    An exception  occurred while rendering a Web control. The following diagnostic information might help to determine the cause of this problem:  System.UriFormatException: Invalid URI: The hostname could not be parsed.    
     at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)    
     at System.UriBuilder..ctor(String uri)    
     at Microsoft.PerformancePoint.Scorecards.ServerRendering.ReportViewControl.ReportUrl(SqlReportViewData sqlReportViewData)    
     at Microsoft.PerformancePoint.Scorecards.ServerRendering.ReportViewControl.RenderSqlReport(TextWriter writer, ReportView sqlReportView)    
     at Microsoft.PerformancePoint.Scorecards.ServerRendering.ReportViewControl.RenderReportViewControl(HtmlTextWriter writer, ReportView rv)  PerformancePoint Services error code 20700.
    I already know that the cause of the issue is in the length of the query (perhapse RDL or MDX) that the browser is supposed to pass on to the instance of SSAS.
    Some people had suggested a workaround that was suitable for older versions or non-integrated SSRS (see here: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cb6ede72-6ed1-4379-9d3c-847c11b75b32/report-manager-operation-cannot-run-due-to-current-state-of-the-object).
    Knowing this, have already done the changes suggested (adding the lines suggested to SP's web.config for Reporting and the web.config of the site on which report is rendred) at no avail, just to make sure.
    I have rednered the same report on the same dashboard using SSRS filters and there is no problem; it just works fine. This has to be a bug in PP that is causing this.
    Has anyone had the same problem with SSRS 2012 (SP-integrated) report rendered on SP 2013 PP dashboard using PP filter? Any fixes or workarounds?
    thnx!

    Hello everybody.
    I confirm the issue in Service Pack 1 Release 2.
    Poor workaround is to remove the repeated infromation from the member keys (in SSAS they can be really long).
    The issue seems to be specific to SSRS: Excel Services works well with the same filter.
    Sergey Vdovin

  • Lighroom 5.4 Develop View does not update when changing sliders

    Just updated to Lightroom 5.4 (using Adobe CC) on Win8. After going to "develop view" on any photo and changing the exposure or any other slider does not update the main view of the photo. It does however update the thumbnail in the film strip and the second monitor window correctly. I've tried everything I can think of:
    (1) downgrading to LR 5.3 (which used to work)
    (2) forcing 1:1 and standard preview regeneration
    (3) uninstalling the re-installing Lightroom (both 5.3 and 5.4)
    (4) Optimizing catalogue
    (5) Removing the Adobe AppData folder
    (6) Creating a brand new catalogue with zero photos, importing a single photo and trying to change exposure/contrast on that
    None of these result in the develop view of the picture changing when I change the sliders.
    Do you guys have any experience with this?

    The chances of me suspecting monitor color profile causing bugs in LR was very slim. =)
    So were mine, especially when only the view itself doesn't work, but all other stuff works fine. Well, I probably have really not good colour profile, luckly you can change it after the lr is launched - it won't cause the problem untill next restart (at least works for me). And hopefully once my calibrator arrives lr will work ok with its colour profiles..

  • E52 Date Display does not update and reflect the c...

    Right from day 1 the display date of my E52 does not update and reflect correct the correct date. Got the phone replaced once still the same issue. Called the customer service and they say there is no such problem with E52. They asked me to go to the repair center...(isnt that ridiculous to ask a customer of a new phone to do so?). I went to the repair center with a hope that they will replace it for me but all in vain. They also gave me a ridiculous answer that Nokia does not have a replacement policy...and I was like so is it Nokia's policy to sell broken and faulty mobiles? I was utterly dejected. The electronic store where I bought also refuse to replace because they think there is a problem and no matter I get it changed it will recur. I still do not have a solution as all my ways of getting this problem resolved are exhausted. Anyone has a solution or came across this issue which can be solved without repairing?

    Ok let me state my problem. There is a date display and at midnight the date should automatically change to the next date. However that does not happen. The dealer makes the following changes Control Panel>Settings>General>Date and time> Automatic time update> On and this does not solve the problem. Then I get the mobile replaced and that too has the same problem. after going through all permutations and combinations the problem persists. To quote the email from the Contact center for Nokia in HK this was what was suggested
    Menu→Ctrl. panel→Settings→General→Date and time→Time zone→please select Hong Kong→Automatic time update→please select Off
    However, if the situation still occurred by following the above settings, please be advised to bring your Nokia E52 along with the valid sales invoice to one of our Hong Kong Nokia Care Centres for the handset checking since we do not have such arrangement of replacing a new phone to you.
    Please help!!!

  • HT5824 my contact list does not update to its current state. After I sync to Itunes or after I back up to I cloud  Also I did a doccuments and data restore and it still didnt change. How do I fix this?

    My contact list does not update to its current state after I sync it to itunes or back it up to icloud  I did a documents and data reset and the contact list still didnt change.. How do I fix this?

    Welcome to the Apple Community.
    First check that all your settings are correct, that contact syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the contacts you are adding are added to your 'iCloud' group and not an 'On My Mac', 'On My Phone' or other non iCloud group (you can do this by checking in groups), non iCloud contacts will not sync.
    If you are sure that everything is set up correctly and your contacts are in the iCloud group, you might try unchecking contact syncing in the iCloud settings, restarting your device and then re-enabling contact syncing.

  • Shared Variable does not update when typedef is changed

    I have a shared variable of type custom control (typedef made up of a cluster). When I chang the typedef, e.g. the name or type of one of the fields in the cluster, and then save it, the shared variable does not update to reflect this change. That is, if I place the shared variable on my block diagram and do a "UNBUNDLE BY NAME" on the output, I see the old fields. I have to go back to the properties of the shared variable, change its data type, apply it, then go back and change it back to my custom control.
    Anyone else seen this behaviour? Anyone know how to get the shared variable to update without going through this procedure?
    Bill
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

    I guess I should have included this information:
    LabVIEW 8.2.1 using Project Explorer.
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • Dreamweaver cs6 does not update links when moving files.

    Dreamweaver cs6 does not update links when moving files. I've tried changing my general > settings for "Update links when moving files" to "prompt", and Ive tried "always". Neither work for me. The files are moved fine, but the links don't change. When it's set to "prompt" - I'm never prompted. Is this a bug or is there another setting somewhere?

    MadelineCACA wrote:
    I haven't define a site. I've opened an index.htm file within a folder structure that I have on my MAC. When I moved a  file called art.htm (within the files tab) from a subfolder into the root folder with the index.htm file, it didn't update the image links in art.htm.
    In order for DW to manage links, you absolutely MUST Define a Site...
    http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs01-defining-a-new-site/
    Also, you MUST use the Files tab within DW to move files around within your Defined Site in order for DW to know it needs to update links.

  • Cisco Prime does not update devices in "Device Work Center"

    Hi everyone.
    I have a problem that is bugging me a lot.
    I'm working in Cisco Prime 2.0 and we have a big problem.
    If I run a discovery and find all a lot of switches, the switches is discovered and are fully managed via SSH and SNMP.
    We are using both 2960S, 2960x and a lot of old 2950:s.
    We are replacing all 2950:s to some new 2960 model.
    The big problem is that when we replace the old 2950:s we reuse the same IP-address (so our customly built programs can find them again), Cisco Prime DOES NOT update the model of the switches. The switches are still in the Device Work Center and are still in recognized as a 2950.
    If I mark the switch to view more info in Device Work Center the Unique Device Identifier says that it is a new 2960s/x but the model is still recognized as a 2950 so Prime can obviously find a manage the switch and update "some" info, but not the device itself.
    Does someone have the same problem or do I need to delete all 2950:s and do a new discovery so Prime understand?
    EDIT
    I have now an example.
    Please look at the image.

    Hi,
    I ran into same issue,Yes this is known issue,there is a open defect id and is fixed in upcoming releases.
    I deleted existing devices and rediscovered,but note you will loose all your configurations related to existing deive model.
    Regards

  • Apple Mail read status does not update correctly

    I have one iMac running Mavericks and using Apple Mail to run three IMAP accounts provided by a local Apple Mountain Lion Server.
    It exhibits two issues:
    Firstly it fails to refresh the view automatically in the message viewer window.
    The header at the very top of the window will update live when a new message comes in so that it says "X Messages (Y Unread)" with the correct numbers. The list of messages does not update unless you switch mailboxes, then switch back again. Then they appear instantly.
    The second and more critical issue is that the read and unread status of messages is not updating correctly at all. Refreshing the view make no difference. Two of the three accounts are shared with 6 other iMacs running Mountain Lion and Snow Leopard. None of these have an issue.
    I have deleted and re-added the accounts several times, I have tried a completely clean new user account. Sometimes the first issue goes away but it returns after a short time.
    The next step would be to erase the whole Mac but I am reluctant to go to the hassle as I have a suspicion that this will not make a difference and that there is a glitch with Mail on Mavericks. I have run all updates.

    Hi Brenn,
    To narrow down the issue, we need more investigation:
    1.Does the issue occurs only in Category view? Please check if user 1 set the view to Date and email read status update.
    2.Does the issue occurs to user1's own mailbox with the same setting as shared mailbox?
    3.If the shared mailbox is in cached mode, please check Account Settings > Change > More Settings... > Adwanced > Use Cached Exchange mode > check Download shared folders.
    4.Please switch to online mode for shared mailbox and test the issue.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Yoga Tablet 2 Lollipop Update - Google Play Services does not update - installation error

    Lenovo is investigating customer reports that after upgrading Yoga Tablet 2 8 830 or 10 1050 to Android 5.0.1 Lollipop, Google Play Services does not update as expected, and shows an installation error.
    A workaround has been identified while this is under investigation. It can be found here: https://forums.lenovo.com/t5/Android-Yoga-Series-Tablets/Yoga-Tablet-2-series-Android-5-Lollipop-experiences-and-problems/m-p/2105390#M8061
    It would help the investigation if several customers would be willing to provide logs capturing this failure event for Yoga Tablet 2 8 or 10 1050 models.
    To capture logs, please follow this procedure: http://support.lenovo.com/us/en/products/tablets/yoga-series/yoga-tablet-2-830/documents/HT103449
    Once you have collected the logs, please zip the files and attach them to an email which can then be sent to [email protected] If the file is too large to send, please provide a link to the hosted file.
    With the email, please include the following information:
    Name:
    Forums User ID:
    Model: 
    S/N:
    Discussion Link: https://forums.lenovo.com/t5/Android-Yoga-Series-Tablets/Yoga-Tablet-2-Lollipop-Update-MicroSD-Card-...
    A description of the failure and any other information you would like to share:
    Zipped attachment or link to hosted file:
    Once I receive multiple logs, I will open a case to escalate these reports for a solution.
    Thank you,

    To lenovo.   The reason I bought this tab is that I believe it has good quality and its performance is excellent especially from lenovo. But if lenovo reasons out that they cannot override the code that is in apk  itself from Google playstore. Can u provide a link or procedure how to go back from lollipop to KitKat until it is resolved? Because we cannot do the things we should do especially work related if we can't download or update any apps tnx. 

  • How to find a customer who does not have any activity in the last 5 years

    HI all,
       How to find a customer who does not have any activity in the last 5 years.
    Thanks & Regards,
    Moderator message: not directly related to ABAP development, please have a look in the respective functional forum.
    Edited by: Thomas Zloch on Jan 3, 2011 2:20 PM

    Post Author: tzinser
    CA Forum: Formula
    Okay, I left off a lot of important information...
    I'm using two tables
    TWDATA
    EVENT
    From TWDATA I'm pulling the fields TWDATA.OrderNumber and TWDATA.DisbursementDate
    From EVENT I'm pulling the fields EVENT.EventCode and EVENT.CompletedDate
    The two tables are linked by OrderNumber.

Maybe you are looking for

  • Goods Movement - BAPI_GOODSMVT_CREATE - input parameters

    Hi, I have to create a goods movement with movement type 343 and 344. While using the transaction MB1B (Tranfer Posting), I give the following parameters. Header 1. Document Date              2. Posting Date Item 1. Movement Type              2. Plan

  • Suggestion for Album Rating in Smart Playlist - let me choose

    First just want to say I love the Album Rating feature, especially the ability to make a "Smart Playlist" that includes all my top rated albums. However, I have a suggestion to make this feature better. Right now, it lets you choose albums that have

  • RTSP Embedded streaming issue

    I have a site which Live streams security cameras 24/7 using RTSP and Quicktime. If you open quicktime player and do Open URL and paste in the rtsp url from the sourcecode of the website the stream works fine. However if you gotothe web url which the

  • Cannot add a place even connected to the web

    When I want to add a place the sytem tells me that the map cannot be displayed as there is no web connection. My web connection works and is active. How to force the system to recognize the connection ? I am using PSE 11 thanks

  • In need of smoothcam plugin

    I desperately need the SmoothCam Plugin for FCE! Tried using the Stabilization on iMovie, but it made my video's quality very blurry and soft-looking. If you know a plug-in for Smoothcam for Final Cut Express, please let me know! Thanks.