|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: real time surface » » » » Post: Re: real time surface |
Print at Dec 19, 2025, 5:16:41 AM |
| Posted by Puybaret at Jun 29, 2017, 5:32:07 PM |
|
Re: real time surface Adding a CollectionListener<Room> to home will inform you only on new and deleted rooms, as you noticed. If you want to listen to changes to the room points, you'll have to add a PropertyChangeListener on each room (and remove it when the room is deleted), and update your text area when the property name in the event is equal to Room.Property.POINTS.name(). [Please continue this thread in English because you started in English] ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 19, 2025, 5:16:41 AM |