Redian新闻
>
Help with Java Swing Applet
avatar
Help with Java Swing Applet# Java - 爪哇娇娃
b*n
1
Hey,
I uploaded my applet(class file and DB driver and html ). I can see applet
loaded. But it's not working as it should.
My applet is suppose to query DB and then according to the result to draw some
pics in JPanel(using custom painting). It worked well as an application before
I converted it to applet.
My questions are:
1) Do I need to do any big coding change when I change application to applet?
What I mean by that is if it's something related to swing event-dispatching
thread? Should I use
avatar
c*r
2
You'd better wrtie some program on server and transfer data from server to
client by socket, http, xml or anything.

some
before
applet?
issue.

【在 b*****n 的大作中提到】
: Hey,
: I uploaded my applet(class file and DB driver and html ). I can see applet
: loaded. But it's not working as it should.
: My applet is suppose to query DB and then according to the result to draw some
: pics in JPanel(using custom painting). It worked well as an application before
: I converted it to applet.
: My questions are:
: 1) Do I need to do any big coding change when I change application to applet?
: What I mean by that is if it's something related to swing event-dispatching
: thread? Should I use

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。