Jpanel nt showing correctly help urgent !!!

[IMG]http://img3.exs.cx/img3/8571/error27.jpg[/IMG]

The one in red is the one i am having prob with....

below is the codes for the JPanel

private class DetailsPanel extends JPanel{

JLabel speedLabel = new JLabel("Simulation Speed");

JLabel timeLabel = new JLabel("Elapse Time");

JLabel speedTag = new JLabel("Normal");

JLabel timeTag = new JLabel("0.0 secs");

DetailsPanel(){

setPreferredSize(new Dimension(160, 100));

setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));

Dimension space = new Dimension(90,15);

speedTag.setMinimumSize(space);

timeTag.setMinimumSize(space);

speedTag.setMaximumSize(space);

timeTag.setMaximumSize(space);

add(speedLabel);

add(speedTag);

add(timeLabel);

add(timeTag);

setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(1, 1, 1, 1)));

}

What is wrong?

Thanks in advanced

[957 byte] By [robinang81] at [2007-9-30 20:06:06]
# 1
So, what is wrong? What's happening? What's the error?
ChuckBing at 2007-7-7 0:52:11 > top of Java-index,Administration Tools,Sun Connection...