Syncope.T-*
Published 2016. 12. 7. 03:40
[SWT] Display Async Method. BackEnd/Java
728x90
1
2
3
4
5
6
7
8
9
10
11
12
  private static void doUpdate(final Display display, final Label target,
      final String value) {
    display.asyncExec(new Runnable() {
      @Override
      public void run() {
        if (!target.isDisposed()) {
          target.setText(value);
          target.getParent().layout();
        }
      }
    });
  }
cs
profile

Syncope.T-*

@Syncope

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!

profile on loading

Loading...