GeeCON Prague 2014*
The moose likes Swing / AWT / SWT and the fly likes Swings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swings" Watch "Swings" New topic
Author

Swings

Remi Dubey
Greenhorn

Joined: Jun 12, 2001
Posts: 8
hi,
how to attach a status bar to a JFrame. I hv a JFrame wch has a JDesktopPane to it.
Theres a method in JAppplet called showstatus but is there any in JFrame???
thnax
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
GeeCON Prague 2014
 
subject: Swings