TabItem의 Focus이동

Eclipse/SWT 2009. 2. 19. 21:52
TabFolder.setSelection(tabItemIndex);
TabFolder.setFocus();
출처: http://dev.eclipse.org/newslists/news.eclipse.tools/msg37643.html
 
Posted by zennken

Java Reflection

Development/Java 2009. 2. 19. 21:43
Trail: The Reflection API: Table of Contents
http://java.sun.com/docs/books/tutorial/reflect/TOC.html

Summary: Loading class, Instantiate an object, Invoking method
// Loading class
URLClassLoader urlClassLoader = new URLClassLoader(new URL[], file.toURL());
Class sClass = urlClassLoader.loadClass("ClassName");

// Instantiate an object
SpecificObjectType obj = sClass.newInstance();

// Invoking method
//do something: return type of "MethodName" is String in this example
Method method = sClass.getMethod("MethodName", args types ...);
result = (String) method.invoke(obj, args...);
Posted by zennken
도구 -> 장번호 매기기 -> 번호 매기기(탭) -> 수준과 단락 스타일 설정 (번호는 없음으로 선택)
Posted by zennken

zennken

달력