Interviewer And Interviewee Guide

Java GUI Framework Interview Question:

How to generate some charts / plots in Java?

Submitted by: Administrator
If you want to do the drawing in Java, consider using a chart drawing library. E.g.

http://www.jfree.org/jfreechart/index.html

gets recommended often. The web site also has a list of other chart libraries.

If you just have to plot some (scientific) data, and if you can live with an external C program, consider using gnuplot

http://www.gnuplot.info/

Use System.exec() to pipe the plot commands and data into gnuplot, or just write the data to a file and use gnuplot separately.
Submitted by: Administrator

Read Online Java GUI Framework Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.