Dialog « Swing « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Swing » Dialog 
1. Press Escape to close your Java dialog windows
Author:Eugene Podgorbunskikh
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip69.html?
Summary: Microsoft Windows users are accustomed to pressing the Escape key to close dialog windows. Likewise, the Escape key closes the active dialog in most commercial products, no matter which control of the dialog has the focus. This Java Tip offers an easy way to intercept the Escape-key event in all dialogs of your Java applet or application. Note: This article was updated on March 4 to improve the code's performance. (1,100 words) Plus: Check out our index of previously published tips.


2. Press Escape to close your Swing dialog windows
Author:John Zukowski
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip72.html?
Summary: In a previous Java Tip, you learned how to intercept Escape-key events to close dialog windows for your Java AWT applets and applications. In this tip, we'll see how to do the same thing with JFC/Swing dialog windows. Plus: Check out our index of previously published tips.(700 words)


3. Manipulate EventQueues for semimodal dialogs
Author:Carla Miller
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip89.html?
Summary: The standard Java modal and nonmodal dialogs are adequate for most GUIs. However, you may sometimes want to force users to do something within a dialog box (the modal aspect) and at the same time allow them to use the underlying GUI (the nonmodal aspect). The controlled nonmodal part often allows a more natural response to the dialog. This Java Tip presents an approach for creating semimodal dialog boxes that provide both these capabilities simultaneously. (2,500 words)


w___w_w__._ja_v_a2_s__.c__o__m__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.