pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bartlett <cbartlet...@googlemail.com>
Subject Re: Example for input dialog
Date Thu, 24 Jun 2010 11:02:19 GMT
Have a look at this, and let me know if you have any problems.  (It was
written against the current trunk)
I'm no Pivot expert, so perhaps someone else can suggest
cleaner/simpler/better alternatives.

The main app features a form to show the data collected from the MyDialog
class, and a PushButton used to create and show a MyDialog instance.
MyDialog itself extends Dialog.
In order to keep the example as simple as possible, all Component creation
is done in java and not with WTKX/BXML.



On Thu, Jun 24, 2010 at 2:28 PM, <weisswurst@gmx.net> wrote:

> Hi!
> I need an input dialog to get some info from the user.
> I would prefere to have this dialog completely encapsulated and not
> directly wired to my main application class.
> Something like this would be nice.
> MyDialog dlg = new MyDialog()
> dlg.show;
> dlg.getDataX();
> dlg.getDataZ();
> So the dialog itself needs the logic to handle userinputs.
> Is there an example around that I could use?
> Thx!
> --
> GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.
> Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl

View raw message