// ã¤ã¡ã¼ã¸æç»ãªã¹ã Listener paintListener = new Listener() { public void handleEvent(Event event) { final Image image = display.getSystemImage(SWT.ICON_INFORMATION); switch(event.type) { // ã»ã«ã®ãµã¤ãºãèª¿æ´ // ï¼ãã®ã¤ãã³ãçºçæã«ãªãµã¤ãºå¦çããããã¨ã¨å®ç¾©ããã¦ãã¾ãï¼ case SWT.MeasureItem: { Rectangle rect = image.getBounds(); event.width += rect.width; event.height = Math.max(event.height, rect.height + 2); break; } // ã¢ã¤ã³ã³ã»ã¤ã¡ã¼ã¸ãæç» ca
{{#tags}}- {{label}}
{{/tags}}