aspose file tools
The moose likes Swing / AWT / SWT and the fly likes How to display a statusbar ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "How to display a statusbar ?" Watch "How to display a statusbar ?" New topic
Author

How to display a statusbar ?

qunfeng wang
Ranch Hand

Joined: Jan 28, 2005
Posts: 410
Like the programe in windows,I want a statusbar to display some information useful.

Thank you.


To be or not to be. It's a question.
Pat Hays
Ranch Hand

Joined: Aug 20, 2004
Posts: 138
Hi letter

You may just add a JLabel or JTextField as the Status Bar at the bottom of your window. See the following code.
-------------------
jLabel2 = new JLabel();
jLabel2.setText("StatusBar:");

contentPane = (JPanel)this.getContentPane();
contentPane.setLayout(new BorderLayout(0, 0));
contentPane.add(jLabel2, BorderLayout.SOUTH);


Download Java GUI Builder, <a href="http://www.mars3000.com" target="_blank" rel="nofollow">http://www.mars3000.com</a>
qunfeng wang
Ranch Hand

Joined: Jan 28, 2005
Posts: 410
Thanks.
I want more, not just display "Loading...", "Ready".I want something looks more excited. You know what I mean? I cann't express the problem more clearly because of my poor english.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to display a statusbar ?
 
Similar Threads
displaying window without toolbar
How to overwrite browser's property.
Java Timer & Clock
JApplet not working properly in Web browser
browsers statusbar text