This is how I do it in PS Elements:
Draw your rounded rectangle with the draw tool.
Simplify the layer
Select the shape with the Marquee tool (I use Magic Wand tool)
Go to EDIT/STROKE
Select OUTSIDE/CENTER/INSIDE for line location around the shape
Select width and color of line
Click OK
Use ESC key to exit Marquee tool
Click Marquee tool again and select inside the shape (the color you want deleted)
Click EDIT/DELETE
You should be left with a line around the shape.