--- old/src/java.desktop/share/classes/java/awt/doc-files/Modality.html 2018-11-28 17:08:42.540578108 +0530
+++ new/src/java.desktop/share/classes/java/awt/doc-files/Modality.html 2018-11-28 17:08:42.120788109 +0530
@@ -3,6 +3,10 @@
The AWT Modality
+
-
+
The Standard Blocking Matrix
-
- current/shown |
- frame & modeless |
- document |
- application |
- toolkit |
+
+ current/shown |
+ frame & modeless |
+ document |
+ application |
+ toolkit |
-
- - |
- - |
- - |
- - |
- - |
+
+ - |
+ - |
+ - |
+ - |
+ - |
-
- document |
- blocked |
- - |
- - |
- - |
+
+ document |
+ blocked |
+ - |
+ - |
+ - |
-
- application |
- blocked |
- blocked |
- - |
- - |
+
+ application |
+ blocked |
+ blocked |
+ - |
+ - |
-
- toolkit |
- blocked |
- blocked |
- blocked |
- - |
+
+ toolkit |
+ blocked |
+ blocked |
+ blocked |
+ - |
-
-
+
+
After the modal dialog is shown, all the windows from its SB are blocked,
except those that block this modal dialog.
@@ -378,43 +380,43 @@
-
+ |
- Frame "F" is shown
- Document-modal dialog "Di" is shown
- F becomes blocked by Di — it's in the same document
- Document-modal dialog "Dii" is shown
- Di becomes blocked by Dii — it's in the
- same document
+ same document
|
-
+ |
|
-
+ |
- Frame "F" is shown
- Document-modal dialog "Di" is shown
- F becomes blocked by Di — it's in the same document
- Document-modal dialog "Dii" is shown
- Di becomes blocked by Dii —
- it's in the same document
+ it's in the same document
- Di is hidden
- F becomes blocked by Dii — it's in the same document
|
-
+ |
|
-
+ |
- Frame "F" is shown
- Toolkit-modal dialog "Di" is created, but not shown
@@ -422,37 +424,37 @@
- F becomes blocked by Dii — it's in the same document
- Application-modal dialog "Diii" is shown
- Dii becomes blocked by Diii —
- it's in the same application
+ it's in the same application
- Di is shown
- Di becomes blocked by Dii — it's its owner
- Diii remains unblocked — it blocks Dii and
- Dii blocks Di
+ Dii blocks Di
|
-
+ |
|
-
-
+
+
- Frame "F" is shown
- Toolkit-modal dialog "Di" is created, but not shown
- Document-modal dialog "Dii" is shown
- F becomes blocked by Dii — it's in the same document
- Application-modal dialog "Diii" is shown
- Dii becomes blocked by Diii — it's in the
- same application
+ same application
- Di is shown
- Diii becomes blocked by Di — Di
- is not blocked
+ is not blocked
- Di remains unblocked
|
-
+ |
|
|