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);

