Search:

Type: Posts; User: Alice

Search: Search took 0.36 seconds.

  1. Replies
    9
    Views
    1,598

    Re: Killing view of a dead model

    I don't understand. I don't know how to do that.

    When I double click on an icon, it should disappear from screen and from memory. So I thought the model object of the icon should get kicked from...
  2. Replies
    9
    Views
    1,598

    Re: Killing view of a dead model

    Mkay. :-/

    Is there a way to test an object has been garbage collected? Or just a way to detect what references are linked to an object at runtime? There must be tools to check for memory leakage....
  3. Replies
    9
    Views
    1,598

    Re: Killing view of a dead model

    You are right. I forgot to clear that reference. (I feel so silly). The icon model is referenced from two places.

    As a matter of fact, now that I took care of that reference, the model object...
  4. Replies
    9
    Views
    1,598

    Re: Killing view of a dead model

    Sweet of the both of you to reply so fast.

    It's not that easy to post my code since the program does lots of other things I'd rather not divulge. If this post doesn't help make it clearer, I'll...
  5. Replies
    9
    Views
    1,598

    Killing view of a dead model

    Sounds like the title of a spy novel, doesn't it? ;))

    Actually I wrote a small MVC-type program that has icons (JLabel) on a screen (JPanel). The logic of the icons is managed by a model class....
Results 1 to 5 of 5