Set border style to solid for Application
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="150" height="80" borderStyle="solid" > <mx:Label text="Label1"/> </mx:Application>