hi,jabber,i am wondered...

oldsix (oldsix)
certianly,it's just for test.but i am wonder now,
in JDK document ,the JButton has the method inherited from Component, so it should be useful to JButton. that's the question is:
1.How to use the inherited method?
Is there any other rule in using the inherited method?
by the way,i define the class implement the mousemotionlistener, in there,i add the line:
addMouseMotionListener(JButton.this);
then you can hold the mouse motion event by the reference of JButton.
(#11841@0)
2000-10-24 -05:00

回到话题: java problem

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=11841