This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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