Re: [xwt-users] new to xwt - modal windows and gui size
Emiliano Heyns <[email protected]> Wed, 01 Oct 2003 00:11:06 +0200
| Newsgroups | gmane.comp.java.xwt.users |
|---|---|
| Message-ID | <[email protected]> |
Karl Pongratz wrote: > XWT looks quite interesting. I had a look at the demos provided on the > xwt.org site. I also tried the new XWT sampler though it seems that it > is not yet completed, i.e. when trying to open something from the menu, > such as help, credits, etc., nothing happens. > Two questions where I didn't find anything in the faq. > Q1. Does XWT support modal windows such as alerts, confirm or any other > sub windows on top of the main window? Yes, if you read 'support' narrowly. There isn't a built-in facility for modal windows, although you can open new windows and (actively) keep them on top. > Q2. If you build quite a complex user interface I suppose that the file > size can easily get 300+ Kb. Are there any know values for gui file size > or is it possible to load parts of the gui (sub windows) only upon request? It's impossible to have 'known values' for GUI file sizes, since it's obviously going to depend totally on the size and complexity of your GUI. It will always be at least as big as the widget set, so the sapler application can be a good indication of what the minimum size will be. Over the lifetime of an application instance, though, you don't need to re-download the UI as with a regular webapp, so the savings add up quite fast. And yes, it will be possible to load parts of the GUI upon request.