• Post Reply Bookmark Topic Watch Topic
  • New Topic

Status Bar  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Acetylsalicylic acid is aspirin. This could be handy too:
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!