简体   繁体   English

在秋千组件中添加闪光灯

[英]adding flash in swing components

I am creating a swing application, I like to add Flash in that application. 我正在创建一个swing应用程序,我想在该应用程序中添加Flash。 Can we add flash in Swing components? 我们可以在Swing组件中添加Flash吗?

Thanks... 谢谢...

I think, you should stick to one of both technologies. 我认为,您应该同时使用这两种技术。 For example use Flash with ASwing. 例如,将Flash与ASwing一起使用。 Or Java with a suitable library to replace the features you need from Flash. 或具有合适库的Java来替换Flash中所需的功能。
Unless you have a very good reason not to, you should always try to use the least platforms possible. 除非您有很好的理由不这样做,否则应始终尝试使用最少的平台。

You should have a look at JavaFX, which allows easier and nicer (than Swing) graphical interactions and animations and integrates nicely with swing. 您应该看一下JavaFX,它可以使图形交互和动画更轻松(比Swing更好),并且可以与swing很好地集成在一起。

I don't have any personal experience with JavaFX but a colleague of mine is working on a project that shows the way to the different rooms and buildings in our organization on a map, using a touch screen for input. 我没有JavaFX的个人经验,但是我的一位同事正在从事一个项目,该项目使用触摸屏进行输入,在地图上显示通往我们组织中不同房间和建筑物的道路。 He uses JavaFX for the GUI and Java for the backend programming, and he is quite satisfied. 他将JavaFX用于GUI,将JavaFX用于后端编程,对此他感到非常满意。

JXBrowser is a non-free option ? JXBrowser是非免费选项吗?

Starting from version 2.0, the library allows integration of Microsoft Internet Explorer, Apple Safari (WebKit) and Mozilla Firefox (Gecko) engines for rendering HTML web pages, thus ensuring compliance with many Internet standards (HTML 4, CSS, XML, JavaScript, Adobe Flash, and others). 从2.0版开始,该库允许集成Microsoft Internet Explorer,Apple Safari(WebKit)和Mozilla Firefox(Gecko)引擎来呈现HTML网页,从而确保符合许多Internet标准(HTML 4,CSS,XML,JavaScript,Adobe Flash等)。


There is a Java Flash Player also . 还有一个Java Flash Player

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM