implemented Swing room drawing utilities