开发者

How to stop JDialog from hiding

I have the below class:

 public class MyAlertDialogFragment extends Dial开发者_运维知识库ogFragment
 {
   ..
 }

Which holds JDialog with one button component. The Dialog works, but hides when I press the button. Do anyone knows how to stop the dialog from hiding?


The routine the button executes must be firing the dialog dispose call. See if you can find dispose(); and comment it out.


Have you tried to call setCancelable(false) on your objetc?

Would be better if you post more code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜