Avoid setLayout (null), if you do not have sound reason for it. Remove the below code. Image will get displayed.
If you still have to use a null layout, you have to set the width and height of the component, along with its its x and y position.
login.setLayout(null);