Making a frame modal

Iam making one frame modal by setting its setEnable() propoerty to true and the and the setEnable() property of the other to false. Now when I close this modal frame and setEnable() property of the initial frame to true, I have to click its Icon on the task bar for it to become enabled (true). What have I not done right?

[329 byte] By [OiyeMagohaa] at [2007-11-27 10:04:12]
# 1
Use modal JDialogs.
camickra at 2007-7-13 0:39:13 > top of Java-index,Desktop,Core GUI APIs...