hi,
i want to make a program that highlights java buttons present on a frame just by bringing mouse over the buttons and this frame may not be part of this program ie it can be from another program
but i dont know how to proceed
any suggestions.....

Recommended Answers

All 2 Replies

Sub-class the Button and delegate a MouseMotionListener.

but i dont have access to the button ie the button belong to some other application therefore i cannot subclass that button

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.