TheProjectDark commented on PR #9652:
URL: https://github.com/apache/netbeans/pull/9652#issuecomment-6032230137

   <img width="249" height="158" alt="Screenshot 2026-10-07 at 08 13 11" 
src="https://github.com/user-attachments/assets/62e04e19-809e-414d-840c-3a085dbf8d24";
 />
   
   Thanks for the review! I tried to fix it and that's what I did:
   
   **What changed** (`ExitDialog.java`, the confirmation branch only)
   - The dialog now uses a `DialogDescriptor` with a small custom body: the 
question icon with the message, and a row with two real `JButton`s (with 
mnemonics, as in the save dialog).
   - `Exit` is the root pane's default button (Enter) and also gets the focus 
when the window opens.
   - The button order is fixed: `Exit` on the left, `Cancel` on the right, 
aligned to the right edge.
   - Esc and the window close button only close the dialog, they never exit the 
IDE.
   - The dialog has a minimum width so the buttons are placed under the text.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to