Originally posted by ebonite05: i dnt understand the way JOptionPane.showMessageDialog works when a JtestArea is been attached to it.