boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - A new question Re: java thread question
相关主题
这个Swing的Exception是怎么产生的?
can applet implements runnable?
问一个特别土的问题
Timer and TimerTask
jvm是怎么implement monitor的?
interface和implementation class
How to handle invalid XML character
实实在在受不了了,还是来这里求教!
一个想不明白的编码问题
请教一个java程序在linux下中文显示乱码问题
相关话题的讨论汇总
话题: question话题: java话题: thread话题: class话题: another
进入Java版参与讨论
1 (共1页)
d*r
发帖数: 238
1
I found that maybe I can use EventQueue to solve this. I will try that today.
Another question: How to import classes dynamically.
That is:
If I have a class implemented a certain interface but I can only know the
exact class name at run time. How to do it?

st
发帖数: 1685
2
http://www.google.
com/search?q=java+classfactory&num=30&hl=zh-CN&ie=UTF-8&oe=UTF-8
dont remember detail, something called classfactory as I remember...

【在 d*r 的大作中提到】
: I found that maybe I can use EventQueue to solve this. I will try that today.
: Another question: How to import classes dynamically.
: That is:
: If I have a class implemented a certain interface but I can only know the
: exact class name at run time. How to do it?
:
: 始

g*****g
发帖数: 34805
3
reflection.

【在 d*r 的大作中提到】
: I found that maybe I can use EventQueue to solve this. I will try that today.
: Another question: How to import classes dynamically.
: That is:
: If I have a class implemented a certain interface but I can only know the
: exact class name at run time. How to do it?
:
: 始

1 (共1页)
进入Java版参与讨论
相关主题
请教一个java程序在linux下中文显示乱码问题
请教个html显示utf8 string的问题 (转载)
a stupid question
请教汉字的utf-8 mapping (转载)
显示email中文的问题
请问用eclipse开发中文的软件
问个java logger的问题
请教读取中文文件的问题
怎麼得到字符串中的raw bytes?
我脑袋短路,大家来帮一下:
相关话题的讨论汇总
话题: question话题: java话题: thread话题: class话题: another