anonymous
  • anonymous
Hi all dears, can any one tell me if it is possible to close a frame in java or not.if yes ,how is it possible?
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
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.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
what do you mean?
anonymous
  • anonymous
hello?
anonymous
  • anonymous
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 :(

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
why dont you use JFrame instead?
anonymous
  • anonymous
JFrame extends Frame
anonymous
  • anonymous
I know!I did this!but I was curious to know the answer!you know it seems strange!anyway thanks :)
anonymous
  • anonymous
i found something after googling http://www.roseindia.net/java/example/java/awt/AwtCloseButtonEvent.shtml
anonymous
  • anonymous
you can also look at JFrame source code method and see how it's done there
anonymous
  • anonymous
a thousands of thanks!It was really nice and helpful!I got it! =))
anonymous
  • anonymous
can u help me with the question I asked in the following link , I need someone's help really: http://openstudy.com/study#/updates/4fa624bce4b029e9dc35e3cb
anonymous
  • anonymous
i don't have an idea what reflections is
anonymous
  • anonymous
oh!=( anyway thanks again dear friend!=)

Looking for something else?

Not the answer you are looking for? Search for more explanations.