¿¹Á¦
public class
ClassA {
private
Shell shell;
public void
makeShell( ) {
shell =
new
Shell( );
if ( !shell.isDisposed() ) {
//do something...
}
}
}
¼Ö·ç¼Ç
ÀÚ¿ø ´©¼ö¸¦ ÇÇÇÏ·Á¸é ¸ðµç org.eclipse.swt.widgets.Shell¿¡¼ dispose()°¡ È£ÃâµÇ´ÂÁö È®ÀÎÇϽʽÿÀ.
Âü°í: ÀÌ ±ÔÄ¢Àº ¸ðµç Shell »ý¼ºÀÚ Çü½Ä¿¡ Àû¿ëµË´Ï´Ù.
public class
ClassA {
private
Shell shell;
public void
makeShell( ) {
shell =
new
Shell( );
if ( !shell.isDisposed() ) {
//do something...
}
shell.dispose();
}
}