Search:

Type: Posts; User: andreas90

Search: Search took 0.09 seconds.

  1. Replies
    12
    Views
    1,749

    Re: help to checking the error!!

    If I'm getting it right you want to set the size (200,100) the first time the button is clicked, (300,200) the second time so on.
    So if you want to do this with one button only you can use the index...
  2. Replies
    12
    Views
    1,749

    Re: help to checking the error!!

    What do you mean by "i just want to change 2 difference type"?
    Can you post your current code and elaborate your requirements?
  3. Replies
    12
    Views
    1,749

    Re: help to checking the error!!

    Firstly, I don't think the last posted code will compile. To be more specific the following line will give you an error.
    if(e.getSource() == 0)
    e.getSource() should equal the button you have...
  4. Replies
    12
    Views
    1,749

    Re: help to checking the error!!

    Do you have a problem with it (error, exception, unexpected behaviour)?
  5. Replies
    12
    Views
    1,749

    Re: help to checking the error!!

    Hello vitorloke!
    You are not changing only one time the size. You are changing it every time you click the button. The problem is that every time you are setting it to the same size....
Results 1 to 5 of 5