Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to center a
Java
DirectoryChooser
dialog inside the parent stage when I call
Java
dirChooser.showDialog(ownerWindow);
?

By default, it shows up in the upper-left corner of the ownerWindow.

My setup:
- Windows 7 x64 Professional
- Java(TM) SE Runtime Environment (build 1.8.0_45-b15
Posted

1 solution

Not according to the documentation[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900