0

I am trying to create a java application that will read a Blob and supporting data from db and display this info on a GUI screen. I cannot find a image control in the list of controls.

Am I missing something or does Windowbuilder not have the ability to create a GUI containing images?

Thanks

4

1 回答 1

0

WindowBuilder 是用于创建 GUI 的工具集,它没有任何内置的 Image 控件。

下面是一篇 Eclipse 文章,它很好地解释了如何扩展 org.eclipse.swt.widgets.Canvas 并在 paint 方法中绘制图像以渲染图像。它还讨论了在 View 和插件项目中使用自定义类。

http://www.eclipse.org/articles/Article-Image-Viewer/Image_viewer.html

于 2013-12-02T21:16:21.570 回答