well there is not problem if you access that field in that way.... anywaysif you don't want to access the field you can use JLabel.LEFT ..... all theswing components implements interface SwingConstants ....