• Post Reply Bookmark Topic Watch Topic
  • New Topic

i need help with an event..  RSS feed

 
Josh Tambini
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have the following code,which im trying to create a Swing(JFC) Frame with a built-in components.
one problem that im facing with is with the windowClosing events which doesnt really closes.
(im using jbuilder2005) and when i close the window with the X sign,it doesnt really closes..its just dissperaing..then i have to press the STOP (red square in jbuilders) to really close it. so i figured out that i have a problem in my event code..this is my code:


10x alot!
[ December 27, 2004: Message edited by: Josh Tambini ]
 
Chris Shefler
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is just a guess, as I am rather new at this. It looks like the window doesn't have a listener .. does addWindowListener(this) work?
 
Josh Tambini
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chris Shefler:
This is just a guess, as I am rather new at this. It looks like the window doesn't have a listener .. does addWindowListener(this) work?


you rocks!!! i forgot that...hehehehe. i know this but i forgot to write this...heh.
10x!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!