123456789101112131415161718 function resize(){ var item_img = document.getElementById("item_img"); dialogWidth = img.width + 10 + 'px'; dialogHeight = img.height + 'px'; var img_body = document.getElementById('img_body'); img_body.style.overflowX = "hidden"; if(item_img.height
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071public class FileTest{ public static void main(String[] args){ // 파일명 선언 String file_name = "test.txt"; // 파일 선언 File beforeFile = null; File afterFile = null; // 파일 읽고 쓰기 위한 FileInputStream, FileOutputStream 선언 FileInputStream beforeStream = null; FileOutputStream..
1234567891011121314151617public class FileTest{ public static void main(String[] args){ try{ // 임시파일 생성 ex) temp_xxxxxxxx.tmp File tempFile = File.createTempFile("temp_", ".tmp", new File("C:\\temp")); // 절대경로 표시 System.out.println("절대경로 : " + tempFile.getAbsolutePath()); // 5초 동안 시간을 준다. Thread.sleep(5000); // 프로세스 종료 시에 지우는 메소드 tempFile.deleteOnExit(); } catch(IOException e){ e.printStackTrace..