Only Applets and JApplets have a built in status bar. If you want to do this in another top-level component, you will have to do it yourself. Perhaps adding a Label or JLabel into the BorderLayout.SOUTH area of the Frame and setting the text in it would work for what you want.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.