Perfect. That is exactly what I need. I learned a lesson on this one. I have been going to http://www.eclipse.org/swt/widgets/ to identify widgets because they have nice pictures of them. Unfortunately, some of the displayable widgets, including MessageBox, are not shown on that page, so I won't rely on it in the future. Thanks, Dick Baldwin On Wed, Aug 31, 2011 at 1:20 PM, John J. Boyer <john.boyer@xxxxxxxxxxxxxxxxx > wrote: > The MessageBox widget might do what you want. > > John > > On Wed, Aug 31, 2011 at 12:41:57PM -0500, Richard Baldwin wrote: > > What is the easiest way in SWT to pop up a modal dialog containing a > title, > > an error message, and an OK button? > > > > Thanks, > > Dick Baldwin > > > > -- > > Richard G. Baldwin (Dick Baldwin) > > Home of Baldwin's on-line Java Tutorials > > http://www.DickBaldwin.com > > > > Professor of Computer Information Technology > > Austin Community College > > (512) 223-4758 > > mailto:Baldwin@xxxxxxxxxxxxxxx > > http://www.austincc.edu/baldwin/ > > -- > John J. Boyer; President, Chief Software Developer > Abilitiessoft, Inc. > http://www.abilitiessoft.com > Madison, Wisconsin USA > Developing software for people with disabilities > > > -- Richard G. Baldwin (Dick Baldwin) Home of Baldwin's on-line Java Tutorials http://www.DickBaldwin.com Professor of Computer Information Technology Austin Community College (512) 223-4758 mailto:Baldwin@xxxxxxxxxxxxxxx http://www.austincc.edu/baldwin/