Re: Trying to make a dialog box

2009-11-01 Thread Dalla
Do like Ian suggested and you should be fine. The dialog.center(); both centers the dialogbox and shows it, if it´s not showing already, On 1 Nov, 20:07, tedpottel wrote: > Hi, > I'm trying to have a dialog box that would pop up when a edit button > is press.  When my dialog box appers, it canno

Re: Trying to make a dialog box

2009-11-01 Thread Ian Bambury
Don't add it to the root panel. Comment out that line and you should find it works. Ian http://examples.roughian.com 2009/11/1 tedpottel > > Hi, > I'm trying to have a dialog box that would pop up when a edit button > is press. When my dialog box appers, it cannot be dragged around and > doe

Trying to make a dialog box

2009-11-01 Thread tedpottel
Hi, I'm trying to have a dialog box that would pop up when a edit button is press. When my dialog box appers, it cannot be dragged around and does not appeir in the center of the screen. It just looks like another widget. here is the code public void onModuleLoad() { La