I have two JFrame,named "JFrame1" and "JFrame2".First I show JFrame1 in the screen of computer,then I set JFrame2's size and location and show JFrame2,make JFrame2 is above the JFrame1,like follows:
 
 JFrame1
 _____________________________
|                             |
|                             |
|          ----------------   |
|         |   JFrame2     |   |
|          ----------------   |
 -----------------------------
 
When I click JFrame1 with mouse,I found JFrame2 is hide by JFrame1. What I want to realize is when I click JFrame1 with mouse,JFrame2 is still visible and still above JFrame1. How to realize this function?
 
Thanks in advance!
Best regards,
Edward

Reply via email to