473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

JFreeChart create a graph within a Java GUI in a panel?

37
Hey everyone,
I'm trying to create a java project that has some charts and stuff. I'm using JFreeChart cause it's open-source and I'm stuck for like a week with this problem:

I want to create charts within a java GUI and put wherever I want INSIDE the JFrame. In a panel or something like this. Every tutorial and example I've checked creates a panel,adds the charts in this panel, then creates a frame and sets the content of it with this code: setContentPane(panel);

If anyone knows anything plz help.

Thanks in advance!
Dec 16 '10 #1
0 2420

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: TP | last post by:
Hi, I have reached a situation where I have to create small pieces of xml (around 8k characters) within my java app. Right now I am using stringbuffer to create the xml which does not go against...
1
by: Jagdip Singh | last post by:
Hi all, I hope this kind of question might be raised earlier in this newsgroup. I want to design application where i need to call DB2 Admin API from within Java code Please suggest possibilities...
0
by: PL | last post by:
Hi, I'm looking for some code which permit me to embed an application within a Panel (in a Windows Application). I'm able to open a lot of application from C# code, but I want that application to...
4
by: Nancy | last post by:
BlankI'm new to VB.NET and OOP and have been reading and surfing the web in an attempt to learn and understand. At this point I'm spinning my wheels and wasting time. I want to be able to move a...
4
by: ally | last post by:
In VB 2K5 Express I've created a panel named "Configure" with eight label, and eight combobox controls; and finally a button named "Apply." The label controls are sequentially named Channel0...
5
by: Mike Fellows | last post by:
I have created some checkboxes within a panel using the code below Dim NewCheckbox As New CheckBox Me.Panel2.Controls.Add(NewCheckbox) NewCheckbox.Location = New Point(XLocation, YLocation)...
1
by: akhilkes | last post by:
i m working on a dynamic query analyzer , which process queries of user , is it possible to attach components in java panel at run time because i want the program process the query and generates the...
2
Butterflybis
by: Butterflybis | last post by:
Hi all, I’m newbie in java code development, I have written a mastermind play, and I would like to include a time limitation (for example 3 minutes) which appears like a coloured and vertical...
10
by: minakari | last post by:
I have a sql file ,how can I create DataBase in java I mean how can I restore my sql script with java code,isther any sample?
3
by: mistusen | last post by:
the nodes of the graph has got x and y coordinate.we'll have to draw a directed graph with the nodes in java.where can i find the source code or what is used to draw the graph?plz suggest.how can i...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.