Here is an example of applet
about the part 2 that you describe, I dont understand, send the code maybe I can help you.
greetings
import java.awt.*;
import java.applet.Applet;
public class AWT extends Applet {
public void init() {
setLayout(new BorderLayout());
add(new Button("North"), BorderLayout.NORTH);
add(new Button("South"), BorderLayout.SOUTH);
add(new Button("East"), BorderLayout.EAST);
add(new Button("West"), BorderLayout.WEST);
add(new Button("Center"), BorderLayout.CENTER);
}
}
Felissa