Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

mas_gh90

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?

  • one year ago
  • one year ago

  • This Question is Closed
  1. Tomas.A
    Best Response
    You've already chosen the best response.
    Medals 1

    what do you mean?

    • one year ago
  2. Tomas.A
    Best Response
    You've already chosen the best response.
    Medals 1

    hello?

    • one year ago
  3. mas_gh90
    Best Response
    You've already chosen the best response.
    Medals 0

    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 :(

    • one year ago
  4. Tomas.A
    Best Response
    You've already chosen the best response.
    Medals 1

    why dont you use JFrame instead?

    • one year ago
  5. Tomas.A
    Best Response
    You've already chosen the best response.
    Medals 1

    JFrame extends Frame

    • one year ago
  6. mas_gh90
    Best Response
    You've already chosen the best response.
    Medals 0

    I know!I did this!but I was curious to know the answer!you know it seems strange!anyway thanks :)

    • one year ago
  7. Tomas.A
    Best Response
    You've already chosen the best response.
    Medals 1

    i found something after googling http://www.roseindia.net/java/example/java/awt/AwtCloseButtonEvent.shtml

    • one year ago
  8. Tomas.A
    Best Response
    You've already chosen the best response.
    Medals 1

    you can also look at JFrame source code method and see how it's done there

    • one year ago
  9. mas_gh90
    Best Response
    You've already chosen the best response.
    Medals 0

    a thousands of thanks!It was really nice and helpful!I got it! =))

    • one year ago
  10. mas_gh90
    Best Response
    You've already chosen the best response.
    Medals 0

    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

    • one year ago
  11. Tomas.A
    Best Response
    You've already chosen the best response.
    Medals 1

    i don't have an idea what reflections is

    • one year ago
  12. mas_gh90
    Best Response
    You've already chosen the best response.
    Medals 0

    oh!=( anyway thanks again dear friend!=)

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.