Hi,

reading the last paragraph of the blue text above the bug-tracker at
https://sourceforge.net/p/freecol/bugs/ should give you the reason
why doing this would be a very bad idea, as making even more subwindows
succeptible to the problems with JDialog is not something desirable.
Reading both of the linked BR gives you even more information on that
(BR#2328 and BR#2729).
If you'd want to work on such conversions, please, do the opposite
of your idea and make more panels/dialogs use JInternalFrame instead
of JDialog, which would be a highly desired but lengthy and difficult
task.



Regards,

wintertime



> Gesendet: Mittwoch, 25. Januar 2017 um 07:20 Uhr
> Von: "Enrico Weigelt, metux IT consult" <[email protected]>
> An: [email protected]
> Betreff: [Freecol-developers] Panels as own windows
>
> Hi folks,
> 
> 
> I'd like to have the various panels (eg. colony view) as separate
> windows (instead of frames within the main window) for better usability
> (eg. keeping some panels open on a separate workspace, and keep the map
> view visible, etc)
> 
> It seems that swing only supports that for JDialog - and the panels are
> derived from JPanel, which is pretty differrent, thus would need a lot
> rework in the whole GUI architecture.
> 
> The situation gets even more complex, if both modes should be supported
> (client setting, etc) - in that case we'd need an bridge layer which
> can create both kind of panels.
> 
> Any ideas on that ?
> 
> 
> --mtx

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freecol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to