Code
-
JAVA Get Web ImageCode/JAVA 2010. 7. 6. 01:20
BaseCode : private BufferedImage img; private String url; private URL u; public test(int x, int y, String url){ this.x = x; this.y = y; this.url = url; // http://img0.gmodules.com/ig/images/korea/logo.gif init(); } public void init(){ try { u = new URL(this.url); img = ImageIO.read(u); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } WEB에 있는 이미지 를 마구 긁어 와주마!!!!
-
JAVA - image MotionCode/JAVA 2010. 7. 4. 18:11
Image 범위 public void tigerMotion(){ try { while(true){ if(this.direct == 1){ if(imgNum 15){ imgNum = 12; } imgNum++; } else if(this.direct == 2){ if(imgNum 3){ imgNum = 0; } imgNum++; } else if(this.direct == 3){ if(imgNum 7){ imgNum = 4; } imgNum++; } else if(this.direct == 4){ if(imgNum 11){ imgNum = 8; } imgNum++; } loadImg(imgN..
-
SVN(Subversion) 설치 & 설정Code 2009. 10. 1. 04:36
다운로드 후 설치 SVN(Subversion) Download TortoiseSVN Download SVN서버에 저장할 디렉토리 만들기 cmd 실행후 설치한 [svn path]\bin에서 아래 명령 실행 svnadmin create --fs-type bdb d:svn [bdb는 버클리db, d:svn 은 d:\svn 을 만들겠다라는것] SVN 파일 설정 [svn path]/conf/svnserve.conf를 열어 아래와같이 자신에 맞게 설정 (인증 을 사용하여 쓰기권한 부여) [general] anon-access = none auth-access = write password-db = passwd authz-db = authz Apache 설정 인증 사용자&패스워드 만들기 [설치경로]\apache\bi..
-
개발하고있는 framework 대략 구조Code/PHP 2009. 9. 16. 06:44
- Sun Os - Live(Oracle), Dev(Mysql) - PHP, JAVA, etc - Zend - wml, xhtml, chtml/ihtml, partnerML(PML) application logic template actions controller ============================================= MVC View TPL (Template Page) ↓ ↑ (Request Value) (Template-engine) ↓ ↑ Controller Actions (Action Class) ↓ ↑ (Controller.database.class) (Return Value) ↓ ↑ Model Databases (database class)