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

  • Home
  • SEARCH
  • 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 4053740
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:29:08+00:00 2026-05-20T14:29:08+00:00

I have a problem where I have to draw a graph on an applet

  • 0

I have a problem where I have to draw a graph on an applet using some data in an excel file. I would need to design an applet where I can display the graph and the data on the same applet.

I had a hard time writing some code in Java to code some CSVreader and ExcelReader files. Now, I am really stuck in how to take this data and graph it on an applet.

I don’t know which class/libraries to use for drawing the graph and how to scale it and draw the actual points or designing the applet itself. I would appreciate if someone can help me out.

EDIT

Sample input:

mis(t)  nt       Vt       N(t)      h(t)      H(t)
1      141    200,000   200,000   0.00071   0.00071
2      103    200,000   199,859   0.00052   0.00122

Here, the graph is to be plotted for mis(t) vs. h(t).

  • 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-05-20T14:29:09+00:00Added an answer on May 20, 2026 at 2:29 pm

    Perhaps, what you are looking for is an easy to use Chart application in Java. The answer is jFreeChart. They have a lots of samples as well to get you started immediately.

    And regarding reading CSV files to pass the data to jFreeChart, use OpenCSV

    Reading a CSV file is as simple as –

    CSVReader rec = new CSVReader(new FileReader(filePath));
    String[] recLine;
    while ((recLine = rec.readNext()) != null) {
     //Get the data from recLine
    }
    

    Let me know if you need more details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a graph where user can draw the graph using touch gesture, i
I have problem when I try insert some data to Informix TEXT column via
I have problem in some JavaScript that I am writing where the Switch statement
I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
I have a problem using the Java search function in Eclipse on a particular
Hi guys, I am making some iPhone graph thingy. Here is my problem. I
First of all, let me say I'm using LyX, though I have no problem
I am developping an application where I need to draw a graph on the
I have to draw a small finite state machine that has some reflexive transitions
I a drawing a graph using Cairo (pycairo specifically) and I need to know

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.