----- original message-----
Von: Sergio Lopes [mailto:
knitter.is@...]
Gesendet: Montag, 5. Mai 2008 16:00
An:
dev@...
Betreff: [openide-dev] Why should one use the Dialogs API
Hi,
The title says it all, why should I use the Dialogs API to display
dialog windows?
I need to prevent the windows from being resized, for that I need a
workaround to the normal Dialogs API creation method, I can't control
the buttons I want, I know I can display some buttons but I'm never in
complete control over them. Designing the windows is not accurate as I
can't easily include the buttons added in the design, they are always
added at the bottom right area, what if I need a button to the left at
the same level?
A dialog created with the API is a normal awt Dialog, if it's just
because it is positioned at the centre of the screen, than I've been
doing that for so log in normal Java Applications that it isn't a
problem.
Bottom line, why is the Dialog API there and when should I use it?
--
Best regards,
Sérgio Lopes
Hi,
Good one...
In the moment I am using my own dialogs API where I can define almost
everything and still have a considerable code reuse and time saving. But if
u want your own dialog design and things like left buttons the code reuse
will fall rapidly. So I dont think there is a reason to build a standard
API for something like this. But since I am not an expert on dialogs API I
could be wrong.
Best regards,
Pavel Kotlov
===================================================
Dipl. Inf. Pavel Kotlov
Lehrstuhl für Betriebswirtschaftslehre und Wirtschaftsinformatik
Professor Dr. R. Thome
Julius-Maximilians-Universität Würzburg
Neubaustraße 66
D-97070 Würzburg
Tel.: (+49) 931 / 3501-38
Fax: (+49) 931 / 31 29 55
eMail:
pkotlov@...
WWW:
http://www.wiinf.uni-wuerzburg.deAdministration Intelligence AG
Steinbachtal 2b
D-97082 Würzburg
Tel.: 0931/88 06 170
Fax.: 0931/88 06 140
eMail:
pkotlov@...
Vorstand PD Dr. Heiko Schinzer
Aufsichtsratsvorsitzender: Prof. Dr. Rainer Thome
HRB: 7176 (Würzburg)
http://www.ai-ag.de===================================================