자바로만든 영어 단어 암기 프로그램
본 자료는 미리보기를 지원하지 않습니다.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
해당 자료는 3페이지 까지만 미리보기를 제공합니다.
3페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

자바로만든 영어 단어 암기 프로그램에 대한 보고서 자료입니다.

목차

자바 이클립스로 만든 프로그램 소스코드

본문내용

public void gui() {
Main.setViewportView(dis);
Container contentPane = getContentPane();


int i = 0;
DefaultListModel listModel = new DefaultListModel();
buttons = new JButton[10];
eng_list = new JLabel("영어 단어 들");
en = new JLabel[3];
set = new JPanel();
but = new JPanel();
text = new JPanel();
list = new JPanel();
eng = new TextField(30);

mean = new TextField(30);
JScrollPane te = new JScrollPane(engList);
buttons[0] = new JButton("단어 등록");
buttons[1] = new JButton("전체 단어 출력");
buttons[2] = new JButton("단어 삭제");
buttons[3] = new JButton("단어 암기 시작");
buttons[5] = new JButton("정답 확인");
buttons[6] = new JButton("암기 종료");
buttons[4] = new JButton("프로그램 종료");

contentPane.setLayout( new BorderLayout(10,0) );
contentPane.add(set, BorderLayout.CENTER);
contentPane.add(but, BorderLayout.EAST);
contentPane.add(text, BorderLayout.SOUTH);
contentPane.add(list,BorderLayout.WEST);
list.setLayout(new BorderLayout(0,20));
list.add(eng_list,BorderLayout.NORTH);
eng_list.setPreferredSize(new java.awt.Dimension(30, 25));

list.add(te);

engList.setFixedCellHeight(30);
engList.setFixedCellWidth(160);
set.setLayout(new BorderLayout());
set.add(Main);
set.setBackground(Color.white);


but.setLayout( new GridLayout(7,1,1,10));
but.add(buttons[0]);
but.add(buttons[1]);
but.add(buttons[2]);
but.add(buttons[3]);
but.add(buttons[5]);
but.add(buttons[6]);
but.add(buttons[4]);

dis.append("영어 단어 암기 프로그램 \n\n\n");
dis.append("이 프로그램은 영어 단어를 등록후 게임을 통해 시험을 볼 수 있는 프로그램 입니다.\n");
dis.append("기본적으로 영어 단어를 입력하고 엔터를 누를시 자동으로 등록이 됩니다.\n");
dis.append("영어 단어 암기 시작을 누를경우 단어 등록, 검색 ,삭제 등등의 기능이 제한되며 \n");
dis.append("영어 단어 암기 시험 중에는 엔터키를 누를시 정답 확인이 눌리게 됩니다.\n");
dis.append("영어단어가 등록되면 왼쪽 리스트에 등록한 영어 단어가 보이며 이를 더블클릭할시 단어와 뜻이 출력됩니다");
dis.append("\n\n");


GridBagLayout grid = new GridBagLayout();
en[1] = new JLabel("영어단어");
en[2] = new JLabel("단어의 뜻");
text.setLayout( grid);
GridBagConstraints gc = new GridBagConstraints();
gc.weightx = 2;
grid.setConstraints(en[1],gc);
text.add(en[1]);
gc.weightx = 2;
grid.setConstraints(eng,gc);
text.add(eng);
gc.weightx = 1;
grid.setConstraints(en[2],gc);
text.add(en[2]);
gc.weightx = 3;
grid.setConstraints(mean,gc);
text.add(mean);
eng.addKeyListener(this);
mean.addKeyListener(this);
dis.addKeyListener(this);
engList.addMouseListener(this);
buttons[0].addActionListener(this);
buttons[1].addActionListener(this);
buttons[2].addActionListener(this);
buttons[3].addActionListener(this);
buttons[4].addActionListener(this);
buttons[5].addActionListener(this);
buttons[6].addActionListener(this);





}
  • 가격2,000
  • 페이지수10페이지
  • 등록일2012.01.13
  • 저작시기2011.12
  • 파일형식압축파일(zip)
  • 자료번호#725336
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니