added methods to set frame linewidth and color