Custom fields
Hello Everyone.
I wish to create a custom field.So I extend my class with Field and gave the body of paint and layout methods.And then draw a rectangle in paint method. Now i wish that my rectangle should be clickable and events can be trapped on it when user clicks. Please help me out to make the rectangle clickable and to trap events on it. A part of my code is: Code:
package mypackage; |
All times are GMT -5. The time now is 01:55 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.