블로그
-
37번째 퍼즐 - 이상한 예외
참고로 모든 코드가 컴파일 되지는 않는다 import java.io.IOException; public class Arcane1 { public static void main(String (Exception e) { System.out.println("This can't happen"); } }} public interface Type1 { vo.......
blog.naver.com · 2015.04.21
-
MFC - TIP(2)
. // 다이얼로그 박스에 추가한 ProgressCtrl 을 OnPaint를 재정의해서 그려주기. void CMyProgress::OnPaint() { CPaintDC dc(this
blog.naver.com · 2015.02.02
-
씬전환, 씬전환 효과
using UnityEngine; using System.Collections; public class ScreenFadeInOut : MonoBehaviour { // Use this for initialization public float fadeSpeed = 1.5f; private bool scensStarting = true; void Awake () {
blog.naver.com · 2014.09.13
-
Non Client 영역 (경계) 색상 변경
void CSampleDialog::OnNcPaint() { CRect rect; GetWindowRect(&rect); rect.OffsetRect(-rect.left, - rect.top); int nX=0, nY=0; LONG lStyle = ::GetWindowLong(this->GetSafeHwnd(), GWL_STYLE); if(lStyle
blog.naver.com · 2014.08.06
-
Non Client 영역 (경계) 색상 변경
void CSampleDialog::OnNcPaint() { CRect rect; GetWindowRect(&rect); rect.OffsetRect(-rect.left, - rect.top); int nX=0, nY=0; LONG lStyle = ::GetWindowLong(this->GetSafeHwnd(), GWL_STYLE); if(lStyle
blog.naver.com · 2014.08.06
-
[ROM] [4.4.4] [HAMMERHEAD] The Schism - 1.1-BETA1 [OFFICIAL]
BETA1 [OFFICIAL] The Schism - A Bright Future, from a Dark Past Code: Select Code Your warranty is now void Please do some research if you have any concerns about features included in this ROM before flashing
blog.naver.com · 2014.08.07
-
[영진전문대학 컴퓨터정보계열] 자바 애플릿 위에서 GUI사용
init() { addMouseListener(this); } public void paint(Graphics g) { super.paint(g); g.setColor(Color.RED ); g.fillRect(x, y, 20, 20); } public void mouseEntered(MouseEvent event) { } public void mouseExited
blog.naver.com · 2013.11.27
-
[영진전문대컴퓨터정보계열프로그래밍전공] 12월 6일 수업내용
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.06
-
[영진전문대 컴퓨터정보계열]자바 글자 애니매이션(예제)
start(){ if(aThread == null){ aThread = new Thread(this); aThread.start(); } } public void stop(){ if = null) aThread = null; } public void run(){ while(true){ // 프레임 번호를 증가시킨다. frameNumber = (++frameNumber
blog.naver.com · 2013.12.02
-
[영진전문대학 컴퓨터정보계열] java(자바) 탁구공 여러개 만들기
300; public static final int HEIGHT = 150; private MyDrawingSurface screen; Thread aThread; public void start() { // (2) if (aThread == null) { aThread = new Thread(this); aThread.start(); } } public void
blog.naver.com · 2013.12.04