posted 20 years ago
Hi Jeff,
I thought of using HashMap too. However, there is one possibility that user can close the internal frame. How can i detect this closing event and remove the associated entry from the HashMap? For instance, Class A(File list) instantiate several Class B (Internal Frame) and display them on the right split pane. Now A has entries for b's. When one of B is closed. How can A detect this event and remove entry of b from HashMap? Add on: When i display the multiple internal frames, the new frame always appear below the old frame. If i click at the bottom of the new frame, it will not focus. I have to click at the top bar(position where the closing button located) first to make the focusing behaviour to be normal? Do you have any idea?
Thanks.