Click here to Skip to main content
15,920,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am not able to make a rectangle such that its size can be adjusted by stretch its boundaries or corners using swing.
any help will be appreciate







thanks in advance
Posted
Comments
Richard MacCutchan 30-Jul-10 7:16am    
Try posting the code you have used and show why it does not work.

1 solution

An example of the RubberBandListener/RubberBandSelect here:
http://stackoverflow.com/questions/2483533/java-swing-custom-shapes-2d-graphics[^]

If you want to go wild:
http://rsbweb.nih.gov/ij/[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900