블로그
-
[영진전문대 컴퓨터정보계열]자바 글자 애니매이션(예제) 핑퐁(Ping Pong)
300; public static final int HEIGHT = 150; private MyDrawingSurface screen; Thread aThread; public void start() { if (aThread == null) { aThread = new Thread(this); aThread.start(); } } public void stop()
blog.naver.com · 2013.12.02
-
[영진전문대컴퓨터정보계열프로그래밍전공] 12월 2일 수업내용
class MyApplet4 extends JApplet implements ActionListener { JTextField field; JTextArea area; public void ); } public void actionPerformed(ActionEvent arg0) { area.append(field.getText()+"\n"); field.selectAll
blog.naver.com · 2013.12.02
-
[영진전문대학 컴퓨터정보계열] 애플릿
setLayout(new BorderLayout()); add(f,BorderLayout.SOUTH); add(a,BorderLayout.CENTER); f.addActionListener(this ); } @Override public void actionPerformed(ActionEvent arg0) { a.append(f.getText() + "\n"); f.setText
blog.naver.com · 2013.12.02
-
Unity - 애니메이션 : 애니메이션 스크립팅
RequireComponent(typeof(Animator))] public class AvatarCtrl : MonoBehaviour { protected Animator avatar; // Use this for initialization void Start () { avatar = GetComponent(); } // Update is called once per frame void
blog.naver.com · 2013.11.25
-
[javascript]예약어
import in instanceof int interface long native new null package private super switch synchronized this throw throws transient true try var void while with
blog.naver.com · 2013.11.27
-
[영진전문대학 컴퓨터 정보계열]자바 프로그래밍 15장 11번
public MyPanel(){ setLayout(new BorderLayout()); JButton b = new JButton("신호 변경"); b.addActionListener(this ); add(b, BorderLayout.SOUTH); } protected void paintComponent(Graphics g){ super.paintComponent(g);
blog.naver.com · 2013.10.26
-
[영진전문대 컴퓨터정보계열] java 생성자와 접근자
class Time { private int hour; private int minute; private int second; // 첫 번째 생성자 public Time() { this (0, 0, 0); } // public Time(int h, int m, int s) { setTime(h, m, s); } public void setTime(int h, int
blog.naver.com · 2013.05.08
-
(영진전문대 컴퓨터프로그래밍전공반) C++ 상향,하향 형변환
setOrigin(int x, int y) { this->x = x; this-> y = y; } void draw() { cout << "Shape Draw (int w) { width = w; } void setHeight(int h) { height = h; } void draw() { // 재정의 cout << "Rectangle
blog.naver.com · 2012.11.26
-
(영진전문대 컴퓨터프로그래밍전공반) C++ 8장 연습문제(프로그래밍)
std; class Shape { protected: int x,y; double area, girth;// 면적, 둘레 public: int getX() { return x; } void setX(int x) { this->x = x; } int getY() { return y; } void s.......
blog.naver.com · 2012.11.26
-
Java 변수의 명명 규칙
대충 적어보자면.. for, if, goto, this, void 등이 있다. 3. 숫자로 시작하면 안된다. 4.특수문자는 '_' 그리고 '$'만 사용할 수 있다. 음..
blog.naver.com · 2012.01.02