1 Jan 13:34
Floating panel over the GUI?
Schuhmacher, Bret <bret.schuhmacher <at> aspect.com>
2005-01-01 12:34:01 GMT
2005-01-01 12:34:01 GMT
Is it possible to have a GUI on which you superimpose a "floating" panel? I want to create a status screen on top of my J2ME GUI showing the status of a long running function (i.e. the initialization of my app). I want to put a gauge in this panel and show it on top of my GUI. I've tried defining the panel and setting its visible flag to false for the majority of the time, then flipping the flag to true when I want it to show up, but it still fails to materialize. I've also tried hiding my main GUI when I show the new panel; the main GUI hides, but the status panel never shows. Any suggestions? Thanks in advance! Bret _________________________________________________ Thinlet Project Site | http://thinlet.com Thinlet Addon Central | http://thinletplus.com Thinlet World News Blog | http://thinletworld.com
Rgds,
Bret
> -----Original Message-----
> From: sea_sbs [mailto:sea_sbs <at> yahoo.com]
> Sent: Saturday, January 01, 2005 12:51 PM
> To: thinlet <at> yahoogroups.com
> Subject: [thinlet] Re: Floating panel over the GUI?
>
>
>
> Use a modal dialog. I use this code to display status while
> dialing. DialupDialog() launches a JNI interface to pppd in
> another thread, while displaying dialup status. startModal()
> is from one of the Thinlet examples.
>
> --------------------------------------------------------------------
> public void dialup() {
> try
> {
> dd = new DialupDialog();
> dialog = parse(IConstants.DIALOG_DIALUP,dd);
> dd.init(this);
> add(dialog);
> startModal(dialog);
> }
RSS Feed