13 Apr 2008 @ 1:15 PM 
 

How to create a statusbar in a JFrame

 


1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading ... Loading ...
1,806 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);

Related posts

Your Ad Here
Tags Tags: , , , , , ,
Categories: Java
Posted By: HappyFace
Last Edit: 13 Apr 2008 @ 01 15 PM

EmailPermalink
 

Responses to this post » (None)

 

Post a Comment

You must be logged in to post a comment.

\/ More Options ...
Change Theme...
  • Users » 888
  • Posts/Pages » 1,444
  • Comments » 506
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

Online Users



    No Child Pages.

Forum



    No Child Pages.