pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Rough equivalent of Swing JOptionPane.showConfirmDialog
Date Tue, 16 Aug 2011 19:47:39 GMT
Yes. You might be able to do something along the lines of DesktopApplicationContext#createDisplay().

On Aug 16, 2011, at 3:38 PM, Roger L. Whitcomb wrote:

> Is it possible to piggy back on top of JDialog and just put Pivot
> widgets on an otherwise blank pane?
> 
> Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com |
> Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 |
> USA  +1 650-587-5596 | fax: +1 650-587-5550
> 
> -----Original Message-----
> From: Greg Brown [mailto:gk_brown@verizon.net] 
> Sent: Tuesday, August 16, 2011 12:31 PM
> To: user@pivot.apache.org
> Subject: Re: Rough equivalent of Swing JOptionPane.showConfirmDialog
> 
>> Sorry, my use of "blocking" was not intended to be technically
> accurate.
>> Of course, it has to keep pumping the event loop, which is what makes
> it
>> so tricky.  Actually, the tricky code seems to be in java.awt.Dialog
>> where the modal event loop lives.
> 
> Right, that's what I would have guessed.
> 
> But in any case, this sort of behavior would require access to the
> native event queue, which AWT does not provide (and I'm not sure should
> be exposed anyway).
> 
> G
> 


Mime
View raw message