public WaitForUserDialog(String title, String text) {
super(getFrame(), title, false);
label = new MultiLineLabel(text, 175);
if (!IJ.isLinux()) label.setFont(new Font("SansSerif", Font.PLAIN, 14));
if (IJ.isMacOSX()) {
RoiManager rm = RoiManager.getInstance();
if (rm!=null) rm.runCommand("enable interrupts");
}
GridBagLayout gridbag = new GridBagLayout(); //set up the layout
GridBagConstraints c = new GridBagConstraints();
setLayout(gridbag);
c.insets = new Insets(6, 6, 0, 6);