Forums Register Login

How to display a statusbar ?

+Pie Number of slices to send: Send
Like the programe in windows,I want a statusbar to display some information useful.

Thank you.
+Pie Number of slices to send: Send
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);
+Pie Number of slices to send: Send
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.
please buy this thing and then I get a fat cut of the action:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 797 times.
Similar Threads
JApplet not working properly in Web browser
Java Timer & Clock
browsers statusbar text
displaying window without toolbar
How to overwrite browser's property.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:51:27.