aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Display datas from database in a JPanel like a grid view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Display datas from database in a JPanel like a grid view" Watch "Display datas from database in a JPanel like a grid view" New topic
Author

Display datas from database in a JPanel like a grid view

sum prit
Greenhorn

Joined: Mar 13, 2011
Posts: 14
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

Joined: May 03, 2008
Posts: 4530
    
    5

JFreeChart may be useful for this..


luck, db
There are no new questions, but there may be new answers.
sum prit
Greenhorn

Joined: Mar 13, 2011
Posts: 14
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

Joined: Oct 27, 2005
Posts: 19672
    
  18

How to Use Tables. I actually copied that link from the JTable Javadoc page.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
sum prit
Greenhorn

Joined: Mar 13, 2011
Posts: 14
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.
 
 
subject: Display datas from database in a JPanel like a grid view