applet « Development « JFreeChart Q&A





1. get getDomainCrosshairValue on applet and open new window    jfree.org

get getDomainCrosshairValue on applet and open new window A free public discussion forum for the JFreeChart class library. Post a reply 1 post Page 1 of 1 get getDomainCrosshairValue on applet and open new window by hsinhw Wed Dec 14, 2011 12:13 pm Hi, I have one japplet need to get the Crosshair x value in the xydataset and ...

2. Parameters for Applet    jfree.org

This is a general java issue, so it is not JFreeChart specific. If you want to learn how to connect a database from an applet, then search in other resources. Take my advice and don't use applets. You will have to deal with many version and security issues. Take a server side solution (e.g. Servlets) whenever possible.

3. my applet only runs in IE...not firefox??    jfree.org

my applet runs fine in IE but when i try to run the applet in firefox i get Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: org/jfree/data/category/CategoryDataset and my applet crashes. im not sure why im getting this error. I just updated to the most recent version of firefox. and i went a java version check and both browsers are running the same version ...

4. JFreeChart in an applet    jfree.org

Hello Guyz, I want to use JFreeChart in applet, Can any one tell me some example snippet for how i can use it applet??I just downlpaded it yesterday i drew a simple pie chart in a java code..and saved it as JPEG ...It works fine n kewl.. I want to do it an applet...Is it same as this one like i ...

5. Memory Usage moving chart applet    jfree.org

Hi, Im new to JFree chart. I have copied and compiled the sample memory usage applet successfully. When I run it on my PC, nothing shows except the grey background. Why can I not see the lines or even the black background? Please help me if you know how to produce moving chart applets using jfreechart/give me your code snippets. I'll ...

6. Cannot load into applet    jfree.org

HI all, i have tried to load the memoryUsage.java file in an applet. i have also placed the 5 library files, "gnujaxp.jar", "jcommon-1.0.0-rc1.jar", "jfreechart-1.0.0-rc1.jar", "junit.jar", "servlet.jar" on the same directory as the memoryUsage.java file. When i try to run the applet, the error is such. java.lang.NoClassDefFoundError: org/jfree/ui/ApplicationFrame at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown ...

7. HTML Applet Tag    jfree.org

Hello Dave, I am trying out the demo Applet1 from the Developer Guide and I can't seem to understand what needs to be put for the first jar file in the HTML applet tag. Does it have to be created, and if so, how? The applet compiled successfully but when I view the applet it says "Applet not Inited" Regards, jmartin ...

8. into applet    jfree.org

www.jfree.org View topic - into applet www.jfree.org Free Java software for data analysis and presentation Skip to content Advanced search Board index JFreeChart JFreeChart - General Change font size FAQ Register Login into applet A free public discussion forum for the JFreeChart class library. Post a reply 2 posts Page 1 of 1 into applet by Guest233 ...





10. JFreeChart Applet Not working under Mac OS X    jfree.org

I wrote a chart applet that works perfectly fine under Windows using Firefox and IE. When I copy this solution over to a OS X machine and try to load the applet it does not work. In Firefox - I get a loading applet message and ultimately says, "Applet Not initialized" In Safari - the page is blank. Appletviewer complains as ...

11. Can I use JfreeChart without having to run it in an Applet    jfree.org

Hi All, We are using JFreeChart time based charting in an application which is web-based and is JSP/Servlet based. We are using JFreeChart in an applet. We want to eliminate the usage of Java on client side and would like to find out if there is a way to use JFreeCharts time based charting from JSP itself and not from an ...

12. Applet calling    jfree.org

Applet calling A free public discussion forum for the JFreeChart class library. Post a reply 1 post Page 1 of 1 Applet calling by Betsie Tue Dec 13, 2005 1:53 pm Hi there I wonder if you guys could help me with this..... Basically ive created an applet called Main.Java and i want to send a dataset to a ...

13. Problem wirth save as (applet)    jfree.org

Hello, I get the following exception if I try to save a picture from a chart within an applet. "Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read) " I already signed the applet! But it still doesn't work if the user clicks accept at the beginning. Thanks a lot for your help. Ludi

14. jFreeChart-1.0.0 and Java Applet    jfree.org

Hi all, I'm using Java version 1.5.0.6 and developed an JApplet which use jfreechar-1.0.0, but always a java.lang.NoClassDefFoundError is throw (Java Console) when executing the applet. Jar manifest, Class-Path, etc.(jcommon-1.0.0 too) everything is in the right place. I'm using other third party libs in the applet which are loading fine. So I extracted just the the classes from jfreechart and jcommon ...

15. Error in applet on webpage but not as an executable .jar    jfree.org

Exception in thread "AWT-EventQueue-3" java.lang.NoSuchMethodError: org.jfree.text.TextBlock.setLineAlignment(Lorg/jfree/ui/HorizontalAlignment;)V at org.jfree.chart.title.TextTitle.arrangeRR(TextTitle.java:491) at org.jfree.chart.title.TextTitle.arrange(TextTitle.java:450) at org.jfree.chart.JFreeChart.drawTitle(JFreeChart.java:1125) at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1015) at org.jfree.chart.ChartPanel.paintComponent(ChartPanel.java:1274) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source) at javax.swing.JComponent.paintDoubleBuffered(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) ...

16. Applet code    jfree.org





17. plz help placing of applet class?    jfree.org

hi i hv created the applet class with jfree(pie chart) and it's been running properly. now i hv to use this applet class in jsp (ie jsp plugin). but i am not able to get where shall i placed this jfrchar.class (applet) in the jsp project folder. could u help me in placing this class file in jsp proj n also ...

18. Tomcat shutdowns abruptly when applet is closed.    jfree.org

Tomcat shutdowns abruptly when applet is closed. by Jyothy Fri Mar 24, 2006 7:02 am I am using applet(ChartPanel) to capture mouse events on the times series graph. On chartMouseMoved event i am displaying the x,y coordinate values in a tooltip. The tooptip values are being displayed in an applet correctly, but the tomcat is being shutdown when applet is ...

19. Jfreechar Applet problem    jfree.org

Actually i'm developing a web application which shows Chart (Graph). I'm creating graph using JFreeChart (Java API) and to draw graph i used Applet because requirement is to access Chart using Web Browser. I need to draw 6 channels and 2 y axis. Requirement also include user can change title, sub-title, x-axis, y-axis, showing/hiding channels. All things i'm created and Its ...

20. Problem with specific german / french characters in Applet    jfree.org

Hello, I have following problem. My chart must be shown 2 times: once as servlet, and once as applet. The code and all the settings are exactly the same (the fonts are also the same). The servlet version of the chart works fine showing all specific characters in the right way. But the applet version doesnt! When I look at it ...

21. Applet Save Chart Problem    jfree.org

22. Applet click to getToolTipText problem    jfree.org

Applet click to getToolTipText problem by Boris Thu May 25, 2006 9:37 am Hi, Is there any one who can help me for this ? Thank you very much. I generated BarChart on applet with the parameter "tooltip" as "true". The "tooltip" can be displayed when the mouse move over on it. I hope to get the "tooltip" when mouse ...

23. Passing parameter from HTML to Applet    jfree.org

I'm working with JFreeChart and Applets.I couldn't pass parameter to applet from html. I found the following answers from the Forum. JFreechart don't have any special applet code for reading applet parameters.you'll need to code that part yourself if you need it (which depends on where you intend to get the chart data from). Actually i'm not getting any point from ...

25. Applets and JFreeChart    jfree.org

I have done an Applet that use the JFreeChart library. I only use the XYLineCharts and the problem is that when you run the Applet from the server it has to download the JFreeChar and JCommon .jar archives and it spent a lot of time. Is a posibility to use only the class I need to run the Applet? Thank u ...

26. Modifying MemoryUsageDemo to Applet .    jfree.org

Modifying MemoryUsageDemo to Applet . by edward Tue Jul 25, 2006 5:00 am hi ! i have developing statistic chart about cpu,network,memory. (like as windows "task manager") so, i modified MemoryUsageDemo Application to Applet. it is following source. Code: Select all import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import org.jfree.date.MonthConstants; import org.jfree.date.SerialDate; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.DateAxis; import ...

27. Problem using applet    jfree.org

Hi everybody, I just finished to write an applet who uses jfreechart library. My IDE is NetBeans 5.0, when I build my project, it creates inside build directory a file html and a folder classes. Inside the html file it call the main class file of my project. But when I start it, java console gives me this message: java.lang.NoClassDefFoundError: org/jfree/data/time/RegularTimePeriod ...

28. Jfreechart applet problem    jfree.org

Jfreechart applet problem by sridhar_ratna Wed Aug 16, 2006 10:00 am Hi, I got the following applet code from net. Its running fine within Applet viewer. But when I embedded in a html page and deployed in tomcat i am getting the the following error. I have copied the JFreechart and Jcommon libraries in lib directory of my project. I ...

29. jfreechart applet doesn't run in Lotus Notes page    jfree.org

jfreechart applet doesn't run in Lotus Notes page by Ken Skinner Wed Aug 16, 2006 1:10 pm Hope someone can help with this issue. I have a sample JFreeChart java applet that I have been able to compile, pull up in a browser and view with no problems. Have tried to load it in a page in Lotus Notes, but ...

30. Applet Cleanup?    jfree.org

I'm calling contentPane.removeAll() & setting myJFreeChart to null in Applet.destroy() - is there anything else i should be doing to shut down JFreeChart? I ask because IE+JavaPlugin1.4.2 will freeze after a couple of hard (ctl-shift-) refreshes in a row, and before i blame it on generic IEvil i want to make sure i'm doing the right things... Thanks, --alex.

31. jfreechart init so slow in applet in JRE1.5    jfree.org

I use jfreechart in applet in applet function init() I init the jfreechart like this: JFreeChart jfreechart = ChartFactory.createMultiplePieChart3D ....... cp=new ChartPanel(jfreechart); getContentPane().add(cp,........); these functions work well in JRE 1.42,but in JRE 1.5 it works so slow that it needs 60 seconds maybe more to init the chart.it caurse that my applet works well in JRE1.42 but too slow in JRE ...

32. applet migration    jfree.org

33. Help with dynamic chart in Applet and Intranet    jfree.org

Hi, i have a problem with an Applet that it has a dynamic chart. The situation is: i have a web server in an PC where is my Applet. The PC have Windows 2000 like Operation System. When i execute the Applet from the Web Server's PC, the date of the dynamic chart is OK (equal to Date of the Web ...

34. Applet combined chart    jfree.org

Applet combined chart by maexchen Tue Feb 06, 2007 2:35 pm Hello! Why doesn't work this Applet? Code: Select all import java.awt.BorderLayout; import java.awt.Color; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.JApplet; import javax.swing.JButton; import javax.swing.JPanel; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.DateAxis; import org.jfree.chart.axis.NumberAxis; import org.jfree.chart.axis.ValueAxis; import org.jfree.chart.plot.CombinedDomainXYPlot; import org.jfree.chart.plot.XYPlot; import org.jfree.chart.renderer.xy.StandardXYItemRenderer; import org.jfree.data.time.Millisecond; import org.jfree.data.time.TimeSeries; import org.jfree.data.time.TimeSeriesCollection; ...

35. URL's and Applets and suffering and pain...    jfree.org

I have questions, but first some information: 1. I'm a very beginner Java programmer; I know C++ pretty well, but Java is somewhat new to me. 2. I'm trying to build an Applet for display on my department webpage (for a dashboard style interface) 3. Yes, I've looked through the javadoc, Google, and sacrificed a Macintosh SE to the programming gods ...

37. Loading chart object to Applet    jfree.org

38. Using JFreeChart in Applet    jfree.org

I am trying to use JFreeChart in an Applet but i am getting this error: java.lang.NoClassDefFoundError: org/jfree/data/general/PieDataset When i use the appletviewer with netbeans IDE it works fine, but when i try to load the applet in a web browser, i get the above error. Can someone here help me out? Thanks in advance!!!

39. how to add jfreechart in Applet    jfree.org

Hi everyone at first i m sorry for my bad English. I using jfreechart 1.0.1 i made many programs in jfree successfully but now i have a problem i want to put my program in JSP what should i do? i want to add jfree in Applet But in Eclipse IDE ,my program runs successfully but though Command Line,It Shows blank ...

41. problems with including applet in html page    jfree.org

problems with including applet in html page by h_A}{ Wed Jun 13, 2007 2:37 pm I have a simple code: Code: Select all import java.awt.BasicStroke; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import javax.swing.JApplet; import javax.swing.Timer; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartMouseEvent; import org.jfree.chart.ChartMouseListener; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.DateAxis; import org.jfree.chart.axis.NumberAxis; import org.jfree.chart.entity.ChartEntity; import ...

42. Using jfreechart as a applet    jfree.org

Hi all, I am trying to use Jfreechart in an Applet, I have successfully converted the First.java example to an applet now I am trying to make a simple line graph. I can run the graph as an application without a problem, but when i try to run it as an applet I get that box with an X. This is ...

43. Applet and zooming    jfree.org

45. problem with overriding code and deploying an applet    jfree.org

I am deploying my program in an applet and I have run into problems with overriding the ChartPanel class by placing a copied/modified version in an org.jfree.chart package within my project. Applets (in browsers) search the archive .jar files before searching files in your codebase, therefore opening the applet in a browser causes the applet to load the org.jfree.chart.ChartPanel class from ...

46. Chart not showing in applet    jfree.org

Hi everyone, We're using JFreeChart in a large application and we have a special JFrame which shows the chart alongside another panel with some components on it. Whenever we run the application as a desktop application everything seems to be OK, the frame is shown with all the components and the chart, but when we use it as an applet the ...

47. Applet Example    jfree.org

48. Does anyone run applet with jFreeChart run under Lotus Note    jfree.org

Hello, i what to build an applet with jfreechart that runs under Lotus Notes. The Applet works fine in ecipse but nut in the Notes Session. I read that other People have the same Problems. Does anyone have solved them ? I Put the jar files in the path and in the apllet but nothing works. I am using the the ...

49. Refresh or Initialize Applet ???    jfree.org

Refresh or Initialize Applet ??? by Frizzanco Mon Jun 02, 2008 1:04 am How to initialize the applet ? only after click and that it appears the chart . Code: Select all package demo.applet; import java.awt.Graphics; import javax.swing.JApplet; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.CategoryAxis; import org.jfree.chart.axis.CategoryLabelPositions; import org.jfree.chart.plot.CategoryPlot; import org.jfree.chart.plot.PlotOrientation; import org.jfree.chart.renderer.category.BarRenderer3D; import org.jfree.data.category.DefaultCategoryDataset; //@SuppressWarnings("serial") public class Applet3 ...

50. Applet ClassNotFoundException and AppletClassLoader error    jfree.org

Applet ClassNotFoundException and AppletClassLoader error by znasim Thu Jun 05, 2008 3:00 pm Dear David, I completed one chart project which is having line,ohlc,candlestick and indicators like bollinger,sma,ema,maenvelope,RSI,DMI,Momentum. Its running perfectly. but now i want to run a static chart on applet bu using the historical data. Below i am sending my code what i have written for static chart. ...

51. Occasional error loading Java Applet with JFreeChart    jfree.org

www.jfree.org View topic - Occasional error loading Java Applet with JFreeChart www.jfree.org Free Java software for data analysis and presentation Skip to content Advanced search Board index JFreeChart JFreeChart - General Change font size FAQ Register Login Occasional error loading Java Applet with JFreeChart A free public discussion forum for the JFreeChart class library. Post a reply 3 ...

52. jfreechart in two Applets    jfree.org

jfreechart in two Applets by DonnaMado Mon Nov 17, 2008 3:11 pm hi!! I come from Germany ,my english is not good but i will try to explain my Problem ok i have two Applets .the first one calculate the Data and send the Data to the second Applet with this command "get Applet context.."the second Applet receive the Data ...

53. Applet notinited error    jfree.org

java.lang.NoClassDefFoundError: org/jfree/data/general/PieDataset at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown ...

54. Jfreechart refresh problem using in applet    jfree.org

HI Everyone: I have plot chart in applet with jfreechart, and embeded the applet in jsp. So I can use the interactive function(zoom...) without any effort. But My problem is that the chart will block when I scroll the web page. only I click on the applet the chart will refresh and a whole chart will show. I have try using ...

55. WHOLE CODE!! _ application to APPLET    jfree.org

WHOLE CODE!! _ application to APPLET by sunrising Fri Feb 20, 2009 4:05 am I need SismoClientApplet to be working as an APPLET!! if you try this the server sends data on localhost, but SismoClientApplet won't draw it jcommon-1.0.14 jfreechart-1.0.11 i'm using a socket.. can you please help me to work it out?? sillyserver: Code: Select all import java.io.*; import ...

56. HTML and JFreeChart Applet    jfree.org

HTML and JFreeChart Applet by nabeelanwer Thu Jun 04, 2009 10:22 am How to form its HTML page??? from where i can find "jfreechart-1.0.0-pre2-applet-demo.jar" file?? import org.jfree.chart.demo.*; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.sql.*; import java.util.*; import java.util.Date; import java.lang.*; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.NumberAxis; import org.jfree.chart.plot.CategoryPlot; import org.jfree.chart.plot.PlotOrientation; import org.jfree.chart.renderer.category.LineAndShapeRenderer; import org.jfree.data.category.CategoryDataset; import org.jfree.data.category.DefaultCategoryDataset; import ...

57. Updating Charts that are Applets    jfree.org

Hello, I have been reviewing the open source charting packages and looking for a tool that can be used to produce standalone java applications, AND be run within a web-browser. I see that JFreeChart can run within an applet. Being a novice in this area, I have one question that I am not sure about. I have read several of the ...

58. How to use JFreeChart in an applet?    jfree.org

Hello everybody I'm a beginner in java, but I have to program a java applet. I used JFreeChart to create some diagrams in this applet. Everything works so far, but now I don't know how I have to call the applet in HTML. I have the HTML-file in my root-folder. There is a subfolder called "code" where I have my .class-files. ...

59. Saving a screenshot of an applet.    jfree.org

The situation is that I have an applet that generates a graph for a webpage and I want to allow the user to download an image of that graph as it exists but I'm fairly novice when it comes to doing such things. I realize that an applet is self contained and wouldn't allow for saving on the server or the ...

60. problems with ChartPanel when running an Applet on HTML    jfree.org

Hi, Im working on an applet where I need to use the JFreeChart libraries. When running the applet on Eclipse, I get no problem with the code. But when I try to run it on a browser (HTML) y get the next error on the Java console: "Caused by: java.io.FileNotFoundException: C:\Documents and Settings\Administrador\Escritorio\proyecto en eclipse_el bueno\7 paso_Aadiendo las Graficas\bin\org\jfree\chart\ChartPanel.class (El sistema ...

61. JFreeChart and Applet    jfree.org

JFreeChart and Applet by Ge1st Sun Apr 04, 2010 11:48 am Hi everybody, Please can you help me for creating a JFreeChart in an applet. I want to show my Chart into a JPanel, and on the left side i want checkbox to choose the series i want to add or not dynamicaly. This is my code: Code: Select all ...

62. Resource bundle not found in Applet (ok in IDE)    jfree.org

Java Plug-in 1.6.0_17 Using JRE version 1.6.0_17-b04 Java HotSpot(TM) Client VM Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError at org.jfree.chart.ChartFactory.createTimeSeriesChart(ChartFactory.java:1918) Caused by: java.util.MissingResourceException: Can't find bundle for base name org.jfree.chart.resources.JFreeChartResources, locale en_US at java.util.ResourceBundle.throwMissingResourceException(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at org.jfree.chart.util.ResourceBundleWrapper.getBundle(ResourceBundleWrapper.java:128) ...

63. pls hlp me in connecting lotus notes with applet(jfreechart)    jfree.org

hi guys , please help me , i know you are all expert and can help me i have one incomplete project which deals with the java applet connecting with IBM lotus notes ,the main aim of this project is to display gantt chart using Jfreechart when we open the Lotus notes document . now i have a java applet this ...

64. java.io.EOFException in Applet    jfree.org

Hi, I run JFreeChart as an applet and it works fine under Windows XP. When the web application runs in a Tomcat servlet engine under Linux however, the applet does not start and the following exception is thrown. Any idea how this could be solved? Urs java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.readBoolean(Unknown Source) at java.io.ObjectInputStream.readBoolean(Unknown Source) at org.jfree.io.SerialUtilities.readShape(SerialUtilities.java:284) at org.jfree.chart.renderer.AbstractRenderer.readObject(AbstractRenderer.java:3328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at ...

65. Applet slowed by resource and bundle loading, how 2 improve?    jfree.org

The first time my applet uses a jfreechart, the resources and bundles take a long time to load, 15 plus seconds. I thought it was because I disabled caching in IE and java during development but when both are enabled the problem still exists. I am looking for a way to improve this situation, perhaps by preloading them when the applet ...

66. Error opening applet from a remote webpage. Local is ok.    jfree.org

Error opening applet from a remote webpage. Local is ok. by rafael Mon May 30, 2011 9:41 am When I open my applet remotely at: http://qwe.orgfree.com/APInicial.html And click "Gerar grficos" after "adicionar", and "simular" I get: Exception in thread "AWT-EventQueue-3" java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file org/jfree/data/category/CategoryDataset but only if its remote!When I open it in my local ...

67. Creating Charts from applets    jfree.org

Is there a way to create web-charts from "something" like the html below: The reason for this is that a cgi script running in Linux C++ will pass to the browser, in some "html like" the one below, the data from many internal files for the browser to generate different plots. Thanks Jose Ideal way for me to generate charts - ...

68. Slow chart creation in an Applet    jfree.org

Hi, I'm using JFreeChart from within an applet. Recently I've started checking the applet with https and I get a very slow creation time of the chart (2-3 minutes!!!, also with http it is prety slow, about 30 secs) I know it is a slow creation as I'v inserted printings before and after the use of the ChartFactory to create a ...