File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display datas from database in a JPanel like a grid view

 
sum prit
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can you please help me to get out my problem and provide me some suggestion to continue further, as i am stuck in how to display data taking those datas from database and display in a JPanel.

I need to display parameters like temperature and rainfall in y-axis and corresponding to them i need to display time values in x-axis i.e at a particular time what is the value for the temperature and rainfall.

Thank you in advance. Any small help from you will highly be appreciated.
 
Darryl Burke
Bartender
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JFreeChart may be useful for this..
 
sum prit
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Sir. But, actually i need to display only the datas like a grid but not the graph. I have found something like using of JTable. But i dont understand it properly that how to use it. Can you provide me a link having example of taking database values and display them in a JTable or some suggestion like that so that i can go further.

Thank you.
 
Rob Spoor
Sheriff
Pie
Posts: 20372
44
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to Use Tables. I actually copied that link from the JTable Javadoc page.
 
sum prit
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you sir for giving your valuable time. But sir, i have gone through it. Can you give me more suggestion regarding this, if possible can you provide some example which clearly explains it.

Thank you.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic