« Return to Thread: Value of Bean properties are updated, but the Property Sheet doesn't refresh?

Re: Value of Bean properties are updated, but the Property Sheet doesn't refresh?

by Wade Chandler :: Rate this Message:

Reply to Author | View in Thread


Not sure off the top of my head. Have you seen:
http://platform.netbeans.org/tutorials/nbm-nodesapi2.html

Maybe there is something you missed in there. If that doesn't help let me know, and I'll see if I can do up a test at some point. What version are you using?

Wade

 ==================
Wade Chandler, CCE
Software Engineer and Developer
Certified Forensic Computer Examiner
NetBeans Dream Team Member and Contributor


http://www.certified-computer-examiner.com
http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam
http://www.netbeans.org



----- Original Message ----

> From: rhizomorph <khufu_lotus@...>
> To: dev@...
> Sent: Tuesday, June 16, 2009 1:55:31 PM
> Subject: [openide-dev]  Value of Bean properties are updated, but the Property Sheet doesn't refresh?
>
> Sorry I forgot to mention - yes I am using PropertyChangeSupport and firing a
> change event on every modification. The only thing different is that I did not
> define the last 4 functions you listed (but I did already have the first 2):
>
>
>
> addPropertyChangeListener(String, PropertyChangeListener);
>
> removePropertyChangeListener(String, PropertyChangeListener);
>
> getPropertyChangeListeners();
>
> getPropertyChangeListeners(String);
>
>
>
> However, adding these has not fixed the problem. Again, changes that are made to
> all the other properties via setting the Theme property ARE being reflected in
> the GUI. They just aren't being reflected in the Property Sheet itself (until I
> click the mouse there). So if the property "color" is currently [255,255,255],
> then I set the Theme variable (which in turn changes the value of "color" to
> black), I will see that the object which depends on the value of "color" is now
> black, but in the Property Sheet itself I will still see [255,255,255], until I
> click the mouse there, at which point it will change to [0,0,0]. So it seems as
> though the only one not being notified is the Netbeans editor. Any ideas?

 « Return to Thread: Value of Bean properties are updated, but the Property Sheet doesn't refresh?