I have the following section of code. I've gotten this before and solved it by having my class extend JFrame. This time I don't want to do that... Here is the fragment
When the above code tries to compile, I get the error: Cannot resolve symbol EXIT_ON_CLOSE. Anyone know whats up?
Ryan Headley<br /><a href="http://www.sudovi.com" target="_blank" rel="nofollow">http://www.sudovi.com</a>
Ryan, I believe that EXIT_ON_CLOSE is a static member of JFrame. Therefore, if you do NOT extend JFrame, you probably need to use the fully qualified name, i.e., JFrame.EXIT_ON_CLOSE. Hope this helps. Stephanie