如何制作全屏Java小程序? [英] How to make full screen java applets?

查看:94
本文介绍了如何制作全屏Java小程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设计一个用Java小程序进行的心理学实验.我必须使我的Java Applet全屏显示.最好的方法是什么,我该怎么做.

I am designing a psychology experiment with java applets. I have to make my java applets full screen. What is the best way of doing this and how can I do this.

由于我已经3年没有使用Java小程序了(上次使用它是为了完成家庭作业:))我忘记了大多数概念.我在Google上搜索后发现该链接: Dani网站

Since I haven't been using java applets for 3 years(The last time I've used it was for a course homework :) ) I have forgotten most of the concepts. I googled and found that link: Dani web

但是在上述链接中描述的方法中,您必须在Japplet内放置一个JFrame,我不知道该怎么做.

But in the method described in above link you have to put a JFrame inside the applet which I have no idea how to do it.

无论我需要哪种快速而肮脏的方法,因为我没有太多时间,所以这就是我在这里问它的原因.

Whatever I need a quick and dirty method b'cause I don't have much time and this is the reason why I asked it here.

先感谢

推荐答案

我认为您想使用WebStart.您可以从浏览器进行部署,但它是完整的应用程序.有一些浏览器式的安全限制,但是,由于您当前正在使用Applet,我认为我可以认为它们不是问题.

I think you want to use WebStart. You can deploy from a browser but it is otherwise a full blown application. There are a few browserish security restrictions, but, as you're using an Applet currently, I think I can assume they're not a problem.

这篇关于如何制作全屏Java小程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆