How to create a statusbar in a JFrame
571 views This is an example how to create a statusbar in a JFrame using Java
First create a JLabel component like this:
JLabel status = new JLabel("This is a statusBar example");
And add the following code below in your program:
status.setPreferredSize(new Dimension(100, 16));
getContentPane().add(status, BorderLayout.SOUTH);


(2 votes, average: 4.5 out of 5)



