Revision: 18346
          http://sourceforge.net/p/gate/code/18346
Author:   adamfunk
Date:     2014-09-18 12:29:27 +0000 (Thu, 18 Sep 2014)
Log Message:
-----------
Call getLocations() in the constructor to ensure map is not null
from the beginning.  Mark & I think it can't break anything but makes
the XJFileChooser easier to use elsewhere.

Modified Paths:
--------------
    gate/trunk/src/main/gate/swing/XJFileChooser.java

Modified: gate/trunk/src/main/gate/swing/XJFileChooser.java
===================================================================
--- gate/trunk/src/main/gate/swing/XJFileChooser.java   2014-09-18 01:20:08 UTC 
(rev 18345)
+++ gate/trunk/src/main/gate/swing/XJFileChooser.java   2014-09-18 12:29:27 UTC 
(rev 18346)
@@ -67,6 +67,7 @@
       @Override
       public void ancestorMoved(AncestorEvent event) { /* do nothing */ }
     });
+    locations = getLocations();
   }
 
   /**

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
GATE-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to