通过在Eclipse Java Desktop Application中单击图像从欢迎页面加载VIEW

问题描述 投票:3回答:1

在Java Eclipse应用程序的欢迎页面中,我保留了不同的图像。为此,我使用.xhtml文件中的代码,如下所示:

<div class="icon">
<img src="../icons/account.png" width="64" height="64" />
</div>

现在,我需要通过单击欢迎页面的图像来加载特定的VIEW。每个VIEW具有在Id中定义的不同的MANIFEST.MF。有人可以帮助我使用<img src="../icons/account.png" width="64" height="64" />文件中XHTML之后的代码吗?我已经尝试了用于网站应用程序的代码,但是没有用。

java eclipse swt eclipse-rcp desktop-application
1个回答
0
投票

最好的办法是从页面中的链接调用操作。 this section in the help向您展示如何做到这一点。

© www.soinside.com 2019 - 2024. All rights reserved.