-
EXIT_ON_CLOSE missing?!
Hi i'm new to Java.I tried to writte a simple code to create a Window.I compiled the code and get this error message:
No variable EXIT_ON_CLOSE defined in class javax.swing.JFrame.
aWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
I dunno what to do?!
thx in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks