Slippy maps for Java Swing GUIs: SwingX-WS

前端 未结 3 1477
伪装坚强ぢ
伪装坚强ぢ 2020-12-09 23:33

This post\'s purpose is to gather in one place all useful info and material needed in order to implement slippy maps in a Swing application using the SwingX-WS library, now

3条回答
  •  天命终不由人
    2020-12-09 23:43

    swingx-ws-1.0.jar is compatible with swingx-1.6.jar but not with swingx-all-1.6.4.jar.
    If you are using swingx-all-1.6.4.jar and wish to use Tiles as you did with swingx-1.6.jar, here is a workaround.

    Copy

    org.jdesktop.swingx.util.GraphicsUtilities.java
    from swingx-1.6.4 to a new package of your own (the swingx-1.6 version) :

    org.jdesktop.swingx.graphics.GraphicsUtilities.java

提交回复
热议问题