rectangle border setting does not work

Version 3.0b3-build 364
Java version 1.5.0-b64 (Windows XP)

On a form I place a rectangle. I make its background property the same colour as the colour of the form it is on. The rectangle has a black border and its borderType property is set to DEFAULT. I change that property to EmptyBorder.

The border is still black. This is a bug, I think.

I want the border to disappear. Eventually I fugure out that the lineSize needs to be set to 0.

Terry

Drawn rectangle objects don’t have CSS styles - in fact none of the drawn objects do.

Instead use a LABEL for a rectangle with these two settings as part of your properties for the subclass style and there will be no border:

border-width: 0px 0px 0px 0px;
border-style: solid;