Problem in a JPanel

Ok, so I'm new to Java programming and I'm just using notepad and command prompt to compile to a class file to be displayed into a webpage.

My problem is probably very simple but I need to add a slider bar underneath a label.

Here is a screenshot of my program so far:

[url=http://i3.photobucket.com/albums/y68/nipper182/java_1.jpg]Screenshot[/url]

And here is the code that I need to modify:

JPanel p1 =new JPanel();

p1.setLayout(new FlowLayout(FlowLayout.LEFT));

p1.setBackground(Color.white);

p1.add(new JLabel("Speed Slider"));

p1.add(jsbDelay);

[737 byte] By [Bentley2210a] at [2007-11-27 6:15:42]
# 1
What layout are you using?
CaptainMorgan08a at 2007-7-12 17:26:37 > top of Java-index,Java Essentials,New To Java...
# 2
Erm.. Border Layout me thinks.Edit: Yes, Border Layout :)Message was edited by: Bentley2210
Bentley2210a at 2007-7-12 17:26:37 > top of Java-index,Java Essentials,New To Java...