net.miginfocom.swing.MigLayout

4 messages Options
Embed this post
Permalink
Jakub Rojek

net.miginfocom.swing.MigLayout

Reply Threaded More More options
Print post
Permalink
Hi

I have download mapwidget from

http://svn.osgeo.org/geotools/trunk/demo/mapwidget/

and I run it using geotools 2.5.5. The problem is that the  *net.miginfocom.swing.MigLayout *library is missing. I was looking for it on the internet but i did not find it enything except API. Does anybody know from where can ia download this libraries. The second Problem is that there are some methods that do not work. Is ist coused by the versin of the geotools that I use??

Thanks Jakub


------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
mbedward

Re: net.miginfocom.swing.MigLayout

Reply Threaded More More options
Print post
Permalink
Hi Jakub,

> and I run it using geotools 2.5.5.

I don't think this will work for you because mapwidget relies on some
changes that have been made to the gt-render module in GeoTools 2.6.
The safest thing to do is to run the demo with the version of all
GeoTools dependencies set to 2.6-SNAPSHOT or 2.6-M1 (most recent
milestone release).

> The problem is that the  *net.miginfocom.swing.MigLayout *library is missing.

Are you using maven as your build tool ?  If so, the miglayout swing
library should be downloaded for you automagically when you build the
mapwidget demo.  It appears at the bottom of mapwidget's pom.xml file.

You can download the library manually from the developer's site:
http://www.miglayout.com/

Here is the direct link:
http://www.migcalendar.com/miglayout/versions/3.7/miglayout-3.7-swing.jar

Hope this helps. If you do try the demo please let me know how you get
on with it.

Michael

------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
mbedward

Re: net.miginfocom.swing.MigLayout

Reply Threaded More More options
Print post
Permalink
Hi Jakub,

I just did a test by deleting the miglayout jar from my local system
and building the mapwidget demo from within Netbeans (6.5) and it
worked without any problems.

Are you getting any error messages during the build ?

Michael

------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
mbedward

Re: net.miginfocom.swing.MigLayout

Reply Threaded More More options
Print post
Permalink
Hi Jakub,

I'm sorry about that - my fault. I thought those changes were in the
M1 release but it was memory failure on my part (not unknown :)

So 2.6-SNAPSHOT is the version to use for mapwidget

Hope this helps.

Michael

------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users