开发者

JFrame to be displayed when the event occurs?

I have a JFrame which pops up when the event occurs. I am having a functionality which when the event occurs the JFrame pops up and if we click on that Frame it will open the corresponding frame, but the issue is when I am not clicking the popped up frame when the event occurs, if another event comes its displays the frame in the taskbar in a blinking state but not in an open state, I want to display the frame as it is wit开发者_运维问答hout the frame blinking in the taskbar???? Any suggestions???


I already had such problem. try to call

frame.setAlwaysOnTop(true);

Then if you do not need this frame to appear on top always call

frame.setAlwaysOnTop(false);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜