- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Modal Dialog in scala.swing
Thu, 2009-03-05, 19:38
I was wondering if there is a way to create modal custom dialogs using scala.swing. Up to now I've gone arround this requirement by creating normal Frames, but I now need to block access to the other windows (or think of another way of blocking input). Is there a way to create a Modal Dialog?
Thomas
Thomas
I have created a wrapper for JDialog class, but until now I haven't had time to talk about with Ingo...
By now, i have just the basics:
class VDialog(owner: Frame) extends UIElement with RootPanel with Publisher
{
override lazy val peer = new JDialog(owner.peer)
//stuff for modallity
}
The name is VDialog because the scala swing alread have a Dialog object... I need talk with Ingo to resolve that issue.
[]s
Victor
On Thu, Mar 5, 2009 at 3:37 PM, Thomas Sant Ana <mailleux@gmail.com> wrote:
--
GNU/Linux user #5f5f5f - http://counter.li.org