Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7964797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:59:04+00:00 2026-06-04T05:59:04+00:00

plz tell the codes and/or logic to use the JXMapkit. I am using the

  • 0

plz tell the codes and/or logic to use the JXMapkit. I am using the swingx-ws-1.0.jar package in eclipse IDE. If a better (newer) package is available plz post the download link. Im trying to add the JXMapkit onto a JPanel with the following code but i’m unsuccessful in that also:

import javax.swing.JFrame;
import javax.swing.JPanel;
import org.jdesktop.swingx.JXMapKit;
import java.awt.*;

public class Main {
public static void main(String[] args) {
       JFrame frame = new JFrame();
       JXMapKit kit = new JXMapKit();
       JPanel parentPanel = new JPanel();
       parentPanel.setLayout(new BorderLayout());
       parentPanel.add(kit, BorderLayout.CENTER);
       frame.setContentPane(parentPanel);
       frame.pack();
       frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
       frame.setVisible(true);
   }

}

error lies in the following line:

parentPanel.add(kit, BorderLayout.CENTER);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T05:59:06+00:00Added an answer on June 4, 2026 at 5:59 am

    I found the answer in the following link:

    http://www.jarvana.com/jarvana/view/org/swinglabs/swingx-ws/1.0/swingx-ws-1.0-sources.jar!/org/jdesktop/swingx/JXMapKit.java?format=ok

    works perfectly.
    It requires the following reference libraries:

    • swingx-all-1.6.3.jar
    • swingx-ws-1.0.jar
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

plz guide me how I can enable or disable asp.net validation controls using jQuery
in the below code plz tell me how to load the text in textarea
i m trying to implement MFMailViewComposeViewController... but getting some following error plz tell why
Any one plz tell me why i am getting this error ?? firstly my
could you tell me plz - is it possible (and how if yes) to
I'm getting the following error while disabling publishing and distribution. Plz, tell me how
Plz tell me dat is it possible? if there is running many app in
plz tell me whats wrong in code bcz i m not able to add
Can anyone tell me how to use Xstream in Blackberry . In java there
Do you know any elegant way to achieve this in ruby plz ? string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.