[자바 프로그래밍] 음료수 자동 판매기 소스
본 자료는 미리보기를 지원하지 않습니다.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
해당 자료는 3페이지 까지만 미리보기를 제공합니다.
3페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

[자바 프로그래밍] 음료수 자동 판매기 소스에 대한 보고서 자료입니다.

본문내용

import javax.swing.*;
import java.awt.*;
import java.util.*;
import java.awt.event.*;

public class VendingMachine extends JFrame {

private SelectPanel selectPanel;
private InputPanel inputPanel;
private OutputPanel outputPanel;


public VendingMachine(){

super("음료수 자동판매기");
Container container = getContentPane();
container.setLayout(null);

selectPanel = new SelectPanel();
selectPanel.setBackground(Color.gray);
inputPanel = new InputPanel();
inputPanel.setBackground(Color.gray);
outputPanel = new OutputPanel();
outputPanel.setBackground(Color.gray);


selectPanel.setBounds(25, 0, 450, 200);
container.add(selectPanel);

inputPanel.setBounds(25,230,450,200);
container.add(inputPanel);

outputPanel.setBounds(25,460,450,200);
container.add(outputPanel);


setSize(500,700);
setVisible(true);

}

public static void main(String args[]){

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