Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
1) How can i locate a dialog from a control such as JColorChooser on the screen ?
2) The default is middle of the screen. I want to change the default.
3) What listener would be used on a JcolorChooser component to detect moment closing and opening (changeState didn't work for some reason )
Posted
Updated 14-Jul-10 19:34pm
v2
Comments
GPUToaster™ 15-Jul-10 8:22am    
can you elaborate it a little more....

1 solution

You can position the dialog AFTER you have created it but BEFORE it is shown. Look at the setLocation(point) method.
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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