import java.io.*;
import java.awt.*;
import java.awt.event.*;
import ij.*;
import ij.plugin.frame.*;
import ij.process.*;
import ij.gui.*;

public class _Truc extends PlugInFrame implements ActionListener {
	public _Truc() {
		super("Here,");
		Panel panel0 = new Panel();
		Button b = new Button("Take care !");
		b.addActionListener(this);
		panel0.add(b); 
		add(panel0);
		pack(); 
		show();		
		new WaitForUserDialog("AAAA", "BBBB").show(); // <----------- First one, OK
	}

	public void actionPerformed(ActionEvent e) {
		new WaitForUserDialog("CCCC", "DDDD").show(); // <----------- Second one, doesn't work
	}
}