It can be repositioned ok, the original code i posted which I think is the one your looking at (the one with my changes) can also be repositioned slightly but it is very temperamental. What I wanted...
Type: Posts; User: java_novice
It can be repositioned ok, the original code i posted which I think is the one your looking at (the one with my changes) can also be repositioned slightly but it is very temperamental. What I wanted...
Its giving strange resizes using that method because I'm trying to add an x coordinate to a width or height etc. Theres bound to be a better way of doing it, as with the code your looking at it has...
Sorry I edited that comment to just contain the original code, its the 'clip' I am wanting to resize
just the rectangle....heres my code atm, moving the rectangle about works fine but i need to be able to resize it
public class Cropping extends JPanel
{
BufferedImage image;
...
Hi, my program opens a rectangle on a jframe and I want to make the rectangle resizable by the user. Anyone any idea how to do this? Thanks