This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Status Bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Status Bar" Watch "Status Bar" New topic
Author

Status Bar

jinsong_l
Greenhorn

Joined: Nov 18, 2001
Posts: 2
I just wish there is a JStatusBar kind of thing in Java.
I have been having problem with creating a status bar in Java, I tried using JTextField and JLabel, they worked quite the way I wanted to... but there is one problem.
My application has Menubar,toolbar and status bar. So in my layout, I setMenuBar(theMenuBar), and then the toolbar in BorderLayout.North, the statusbar in BorderLayout.South. Putting in those listeners are fine. The problem is, the tool bar suppose to be able to put to any 4 sides (like most windows application.. hope you all cna understand). So now, if I were to drag the toolbar to the bottom, in windows application, the toolbar would have dock itself on top of the statusbar. In my case the toolbar would "cover over" the status bar, thus making the status bar not viewable. When I drag the toolbar back to dock to the North side, the status bar is disappeared.
Anyway to overcome this problem?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Status Bar
 
Similar Threads
Menu Items are not appearing.
GUI doesn't display -- sometimes
statusbar in swing
How to prevent auto resize in BorderLayout
Problem with JToolBar