On Wed, 29 Jan 2014 13:28:36 +0100
LoneVVolf <lonew...@xs4all.nl> wrote:
> could you clarify the difference between modal dialogs , non-modal 
> dialogs  and panels ?

Modal dialogs block waiting for input, non-modal dialogs do not.  Both are
implemented with JDialog at the lowest level.  Panels do not return an
input value to the calling routine, although they can still have a large
variety of effects (consider ColonyPanel), and are implemented with
JInternalFrames.  All of them can be supplied with a new tile to focus on
(e.g. the colony tile for ColonyPanel), which may cause the map to refocus
if it needs to to make the tile visible.
 
> I looked at the code and think the actual blinking is implemented 
> through a swing timer in src/net/sf/freecol/client/gui/TerrainCursor.java .
> Does keeping the blinking active always when map is onscreen hamper 
> performance ?

Probably not much, but I am not worried about performance.  I am trying to
preserve the intent of the existing code.

Cheers,
Mike Pope

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to