Oh by the way here is the code i am using so far: Please can anyone help I have been sitting at the computer scratching my head all day. A forum really is my last resort so any help would be greatly appreciated.

import java.awt.*;
import java.awt.event.*;
import java.io.*;

public class BusinessCard extends Frame implements ActionListener, ItemListener {

 private Panel p1 ,p2, p3, p4, p5, bigP;
    private TextField nameField;
    private TextField phoneNumberField;
 private Choice companyChoice;
 private Button display,saveButton;
 private CheckboxGroup c;
    private Checkbox logo1, logo2, logo3;
 private Label errorLabel;
    private int phoneNumbers ;
 private String name = " ";
 private String[] logoArray = {"Logo1","Logo2","Logo3"} ;
 private String logo = logoArray[0];
 private String[] companyArray = new String[8]; // = {"Microstar International","AGNEOVO","Toshiba","Sony","Seagate","Microsoft","LG","AMD"} ;
 private String company = " ";
 private Card myCard;

 public static void main(String[] args) {
  BusinessCard pd = new BusinessCard();
    public BusinessCard() {
  try {
    BufferedReader in = new BufferedReader(new FileReader("company.txt"));
    String str;
   int i = 0;
    while ((str = in.readLine()) != null) { 
    companyArray[i] = str;
  catch (IOException e) { 
   System.err.println("File Error: " + e.toString() );
  setLayout(new BorderLayout());
  setBackground( new Color(222,254,174));
  myCard = new Card();

        bigP= new Panel();
  bigP.setLayout(new BorderLayout());
  bigP.setBackground( new Color(86,113,248));
  p1 = new Panel();
        nameField=new TextField(10);
        p1.add(new Label("Name: "));

        p2 = new Panel();
  phoneNumberField=new TextField(15);
        p2.add(new Label("Phone Number: "));

        p3 = new Panel();
        c = new CheckboxGroup();
        p3.add(new Label("Select a Logo :"));
        logo1 = new Checkbox("Logo1", c, true);
  logo2 ...
clobbasaurus Newbie Poster

[font=Comic Sans MS][size=4]Hi Everyone,[/size][/font]

[font=Comic Sans MS][size=4]I am a student and I have been asked to make a program to create business cards. At the moment I have made a fully working application with file IO. The program basicly takes any input into the text fields and displays them on a business card template. Also it is necessary for the program to put a logo onto the business card by means of selection boxes. I already have written methods for drawing the logos, at the moment they are seperate applets. On my application I have included seletion boxes but at the moment they are tied to a String array so when the selection is made the strings: "Logo1", "Logo2", and "logo3" are displayed on the card rather than the Graphical logos drawn in the applets I have previously written. Can anyone suggest a way that I can tie the selection boxes to the logos so that they are displayed on the screen, Even if i have to cut and paste the methods into my new application code. I just need some help doing it.[/size][/font]