Subversion contains code for extremely ugly GUI that is able to do one thing: display current and setpoint temperature for all configured zones, and change color depending on whether DZ is configured for cooling and heating mode and whether the zone is calling.
Ugly or not, it sure beats using JMX to see the current temperature and setpoints.
Here's a configuration snippet that makes this happen:<bean id="console" class="net.sf.dz3.view.swing.Console"
Not just thermostats may be added, but any DZ objects - if they can't be displayed, they will be simply ignored with an error message in the log.
init-method="show">
<constructor-arg index="0" type="java.util.Set">
<set>
<ref bean="thermostat-6500000055FF1A26" />
<ref bean="thermostat-0500080021C9B810" />
</set>
</constructor-arg>
</bean>
Friday, December 4, 2009
Early Access: Swing GUI Back From The Dead
Posted by vt at 12/04/2009 01:24:00 AM
Labels: early access, GUI, GUI-Swing, Swing, user interface
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment