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.
精彩评论