At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
what do you mean?
Hi! thanks for your attention!You know my problem is that as I make a frame in java (a class that extends Frame not JFrame)I cannot get the window close with the x button on the title bar!if it was JFrame I could use setDefaultCloseOperation() but now it is not possible:(I was looking for a way :(
why dont you use JFrame instead?
JFrame extends Frame
I know!I did this!but I was curious to know the answer!you know it seems strange!anyway thanks :)
i found something after googling http://www.roseindia.net/java/example/java/awt/AwtCloseButtonEvent.shtml
you can also look at JFrame source code method and see how it's done there
a thousands of thanks!It was really nice and helpful!I got it! =))
i don't have an idea what reflections is
oh!=( anyway thanks again dear friend!=)