Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!