下面给个简单的三个格的状态栏。
jLabel1.setBorder(BorderFactory.createLoweredBevelBorder());
jLabel2.setBorder(BorderFactory.createLoweredBevelBorder());
jLabel3.setBorder(BorderFactory.createLoweredBevelBorder());
form.getContentPane().add(jPanel4,BorderLayout.SOUTH);
jPanel4.setLayout(new BorderLayout());
jPanel4.add(jLabel1,BorderLayout.EAST);
jPanel4.add(jLabel2,BorderLayout.CENTER);
jPanel4.add(jLabel3,BorderLayout.WEST);
jLabel1.setPreferredSize(new Dimension(100, 24));
jLabel3.setPreferredSize(new Dimension(100, 24));
在复杂的状态栏布局就要用到GridBagLayout布局,自己找些相关的资料来看看吧。