//Purpose: This applet simply creates radio buttons component import java.awt.*; import java.applet.*; import java.awt.event.*; public class test12e extends Applet{ //Set background to yellow, public void init() { setBackground(Color.yellow); setFont(new Font("Helvetical", Font.BOLD, 12)); setLayout( new FlowLayout(FlowLayout.LEFT)); Choice menu_choice = new Choice(); menu_choice.add("Black"); menu_choice.add("Red"); menu_choice.add("Green"); menu_choice.add("Blue"); menu_choice.add("Pink"); add(menu_choice); } //Paint the current key at the current position public void paint(Graphics g) { //set drawing color g.setColor(Color.red); } }