Search:

Type: Posts; User: Alice

Page 1 of 2 1 2

Search: Search took 0.29 seconds.

  1. Replies
    9
    Views
    562

    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
    562

    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
    562

    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
    562

    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
    562

    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....
  6. Thread: JAVA GUI

    by Alice
    Replies
    6
    Views
    1,536

    Re: JAVA GUI

    There are hundreds of tutorials on that subject.

    Here are the first three a Google search provided:

    Creating a GUI With JFC/Swing
    JAVA SWING GUI TUTORIAL
    Complete Java GUI Tutorial - Beginner...
  7. Re: Java Picture Processor with PGM files and Multi Arrays

    Ok, they basically reduce the picture to an array of color values for each pixel. And they ask you to manipulate the pixel values and restore them in the same array. This exercise is not about...
  8. Thread: Palindrome

    by Alice
    Replies
    13
    Views
    1,303

    Re: Palindrome

    You paste your code in the body and you write the tags before and after the code.

    You can preview your message to see if it turned out ok before you submit.

    I don't want to sound rude, but you...
  9. Replies
    4
    Views
    1,060

    Re: Signal processing API.

    These perhaps?

    FastFourierTransformer

    FFT
  10. Re: help in update and repaint() methods (Grahpics2D)

    Hey Nawaf,


    I wrote a program like that a while ago, based on an online tutorial. I can't seem to find the tutorial anymore, but here is the original program: DragKing


    I hope this helps.
    ...
  11. Replies
    2
    Views
    641

    Re: Rule base for graphical editor / simulator

    Hello copeg, thanks so much for answering this. I've been watching this topic like a mother hen over her chicks. :o

    At this point it is design. If you have a solution in another language or in...
  12. Replies
    2
    Views
    641

    Rule base for graphical editor / simulator

    Dear friends,


    This is a big question. Please bear with me.


    I'm working on a complex editor / simulator program that allows to manipulate and extend structures of shapes in a two dimentional...
  13. Replies
    1
    Views
    555

    Re: Remote Desktop Support Application

    I'm not sure I understand. What kind of application system?

    If you're talking about a remote desktop (support) application (like the title says) I might have a neat idea for you:

    What about...
  14. Replies
    2
    Views
    1,210

    Re: Problem of saving

    A good idea is to create a sepatate directory where you store all your projects. A classic name for that would be work. Not only do you always know where your own files are, it's also handy to keep...
  15. Replies
    6
    Views
    9,457

    Re: Need Ideas For OOP(Java) Mini Project

    Ok. Well the graphical part is almost completed, but never mind.

    Don't you worry about that.

    Another idea, although not te be underestimate either, is a logistics manager:

    You have a list of...
  16. Replies
    6
    Views
    9,457

    Re: Need Ideas For OOP(Java) Mini Project

    How about developing a simple board game interface?

    I was going to start a thread in a few days about a problem I'm having with a project of mine. I need to create a kind of rule database that is...
  17. Replies
    0
    Views
    1,485

    Drag & drop MVC: deleting an object

    Hello everyone,


    I've got another question concerning MVC with a drag and drop interface. Let me recapitulate what I have so far:

    I've got an MVC triad managing a simple JFrame in which mouse...
  18. Replies
    9
    Views
    2,373

    [SOLVED] Re: Drag and drop in MVC

    I finally found why I had a stack overflow error.

    Since I have two controllers (one for the application and one for the individual dots), and both of them call a mouseListener method from their...
  19. Thread: degrees?

    by Alice
    Replies
    2
    Views
    474

    Re: degrees?

    The way I see it there are three parts to this:

    1. Which one will get you hired the easiest? In some markets any university degree will get you a job if you graduated. You could have a degree in...
  20. Replies
    3
    Views
    950

    Re: What's wrong with my date getter?

    Well, first thing is to find out where the problem occurs. Try to add a simple System.out.println(...) statement at different spots to do basic debugging.


    You have to know that I am not very...
  21. Replies
    1
    Views
    634

    Re: A little advice please:

    I never graduated from a university, so take this advice for what it's worth.

    What you should find out is what kind of projects students have turned in the previous years, so you can estimate what...
  22. Replies
    3
    Views
    950

    Re: What's wrong with my date getter?

    I'm guessing here, but I remember vaguely some weird date old computers used as a reference date for all dates. If you didn't intialize the date properly, you would get a very old date. That wasn't...
  23. Replies
    132
    Views
    21,649

    Sticky: Re: 500 Ways to Print 1 to 10

    #52. 8086 assembler using interrupts

    org 100h

    ; set screen to text mode
    mov ax, 3
    int 10h

    ; init segment register
    mov ax, 0b800h
  24. Replies
    9
    Views
    2,373

    [SOLVED] Re: Drag and drop in MVC

    Umm... well I added it to a JPanel.

    I've uploaded the version that causes the Stack Overflow Error here.

    This is the DotView code where the error originates from:

    package...
  25. Replies
    9
    Views
    2,373

    [SOLVED] Re: Drag and drop in MVC

    The mouseListener solution worked like a charm. Thank you so much!

    Actually I had more trouble getting the JPanel to behave. I keep having trouble with layered panels.

    Anyway, I uploaded my...
Results 1 to 25 of 32
Page 1 of 2 1 2