0
SWT (포트 된 Mac OSX 버전) 응용 프로그램을 만들고 있습니다. "인라인"이라는 베젤 스타일을 사용하기 위해 특정 버튼을 설정하려고합니다. 여기에 내 버튼이 Mac에서와 같이 보이게하고 싶습니다. SWB NSButton에서 setBezelStyle이 작동하지 않습니다. -
은 (엑스 코드에서 스토리 보드보기에서 screenshotted)나는이 인라인 버튼을 가려고 사용하고 코드 :
// created button named "inlineButton" and applied layout to it.
// here is where I set the bezel style and text.
NSButton nsInlineButton = (NSButton) inlineButton.view;
nsSaveButton.setBezelStyle(15); // NSBezelStyleInline is enum 15 for cocoa
this.inlineButton.setText("Inline Button");
그리고 결과 :
이 (에서 screenshotted을 내 자바 프로그램)
나는 또한 껍질과 다양한 다른 방법을 다시 그리려고 시도했다. 아무 소용이. 이 버그입니까? 아니면 잘못된 것입니까?