Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes Do we have a JStatusBar in java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Do we have a JStatusBar in java?" Watch "Do we have a JStatusBar in java?" New topic
Author

Do we have a JStatusBar in java?

raymond Aheto
Greenhorn

Joined: Jan 26, 2009
Posts: 1
HI!, I am designing a Hotel management System Software using A JDesktop and JInternalFrame. I want to add a Status Bar to the desktop and It is a problem. please help.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19680
    
  19

I've created one myself, using just a simple JPanel combined with some borders:

For the rest you can use any layout you want: BorderLayout, GridLayout, FlowLayout etc. As for the contents, you can just use JLabel there.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Mikko Kohtamäki
Ranch Hand

Joined: Dec 13, 2008
Posts: 112
Hellou,

Well JLabel exists, hard to say nothing if you dont tell what is the real problem here.

Maybe somebody has made some kind of status bar class for java, i dont know
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Do we have a JStatusBar in java?