求教:如何在JWindow上显示滚动字幕
我想在软件的About窗口上加一个所有参与开发人员的滚动字幕,类似网页上的滚动新闻。
About 是一个 JWindow,我原来的设想是在 JWindow 上加一个 JEditorPane,滚动字幕用html网页实现,然后将其加入 JEditorPane,现在遇到的问题是网页加入 JEditorPane 后可以显示但是没有滚动效果,单独使用ie打开网页效果正常。
请问有什么解决办法,或者还有什么方式可以实现?
附我使用html完成滚动效果的代码
<html>
<table bgcolor=#FFFFCC font face='Times New Roman'>
<tr>
<td>
<marquee scrollAmount=2 width=300 height=160 direction=up>
<br>Product Team :
<br>Andy Jia
<br>Bill Liou
<br>Edy Li
<br>Godn Zhou
<br>James Yang
<br>Jacky Yang
<br>Leon Chen
<br>Long Wang
<br>Rosalba He
<br>Will Wang
</marquee>
</td>
</tr>
</table>
</html>