×

Loading...

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 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: java problem

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论