Search:

Type: Posts; User: java_novice

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    2,173

    Re: Resizing on mouse movement

    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...
  2. Replies
    9
    Views
    2,173

    Re: Resizing on mouse movement

    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...
  3. Replies
    9
    Views
    2,173

    Re: Resizing on mouse movement

    Sorry I edited that comment to just contain the original code, its the 'clip' I am wanting to resize
  4. Replies
    9
    Views
    2,173

    Re: Resizing on mouse movement

    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;
    ...
  5. Replies
    9
    Views
    2,173

    Resizing on mouse movement

    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
Results 1 to 5 of 5