The BasicArrowButton is a class is part of the Java SE. The BasicArrowButton Displays a Single Arrow Head in a specified direction. I want to override the class, preserving the existing methods but having the Basic Arrow Button display a double arrowhead instead of a single arrowhead. For Example See the following URL http://www.tiresias.org/images/ff.jpg. All I’m looking to do is to change the way this icon is drawn.
Thank you,
subclass BasicArrowButton and override paintTriangle. You can try recalling BasicArrowButton‘s paintTriangle method twice to get the triangles. For example:
Should give you a button looking something like this:
(source: amnet.net.au)