Click here to Skip to main content
15,908,634 members
Home / Discussions / Java
   

Java

 
QuestionProblem with JSObject Pin
raesa5-Jun-09 2:44
raesa5-Jun-09 2:44 
QuestionJava Swing - Right Click and JPopupMenu in JTable Pin
djDash5-Jun-09 0:25
djDash5-Jun-09 0:25 
QuestionRe: Java Swing - Right Click and JPopupMenu in JTable Pin
Java John11-Jun-09 1:59
Java John11-Jun-09 1:59 
QuestionCreating a file and saving it on a networked computer [modified] Pin
ItIsFinished4-Jun-09 12:00
ItIsFinished4-Jun-09 12:00 
AnswerRe: Creating a file and saving it on a networked computer [modified] Pin
darkdragn5-Jun-09 2:45
darkdragn5-Jun-09 2:45 
GeneralRe: Creating a file and saving it on a networked computer Pin
ItIsFinished5-Jun-09 5:44
ItIsFinished5-Jun-09 5:44 
QuestionWriting a simple HTML report using Java Pin
raesa3-Jun-09 20:15
raesa3-Jun-09 20:15 
AnswerRe: Writing a simple HTML report using Java Pin
Ali Shakiba10-Jun-09 22:19
Ali Shakiba10-Jun-09 22:19 
Salam ( == Hi );
As I understood; you want to use Java to generate a report in HTML format. There is a simple to do job. You just need to do the following:
1- Create an HTML file and Open it in Java;
2- Add header data to the file;
3- Connect to your data source; for example MySQL using JDBC;
4- Run a query to the data source;
5- Parse the query result;
6- Add a parsed query result in appropriate places at the HTML file;
7- Finally add footer to the file;
8- Close the stream;

To show it in your program; use the Swing library;
there is a tut. on sun.com;

link

With my best and warmest regards;
&
With the hope of coming of Mahdi;
Ali Shakiba;
Kerman - Iran (Islamic Republic);

Questionneed help geeting a nullpointerexeption [modified] Pin
ashish_bhatia3-Jun-09 1:07
ashish_bhatia3-Jun-09 1:07 
AnswerRe: need help geeting a nullpointerexeption Pin
Nagy Vilmos3-Jun-09 2:00
professionalNagy Vilmos3-Jun-09 2:00 
RantRe: need help geeting a nullpointerexeption [modified] Pin
ItIsFinished4-Jun-09 12:13
ItIsFinished4-Jun-09 12:13 
GeneralRe: need help geeting a nullpointerexeption Pin
Nagy Vilmos5-Jun-09 3:46
professionalNagy Vilmos5-Jun-09 3:46 
QuestionMobile Application Pin
cdpace2-Jun-09 23:40
cdpace2-Jun-09 23:40 
AnswerRe: Mobile Application Pin
Nagy Vilmos3-Jun-09 0:08
professionalNagy Vilmos3-Jun-09 0:08 
Questionretrieving selected item from jComboBox in jTable Pin
Denis J. González1-Jun-09 9:16
Denis J. González1-Jun-09 9:16 
AnswerRe: retrieving selected item from jComboBox in jTable Pin
darkdragn1-Jun-09 9:25
darkdragn1-Jun-09 9:25 
GeneralRe: retrieving selected item from jComboBox in jTable Pin
Denis J. González1-Jun-09 9:43
Denis J. González1-Jun-09 9:43 
QuestionMobile Programming Pin
Sourie30-May-09 19:28
Sourie30-May-09 19:28 
AnswerRe: Mobile Programming Pin
raheela12331-May-09 1:22
raheela12331-May-09 1:22 
Questionproblem in do-while loop Pin
kenna18030-May-09 4:58
kenna18030-May-09 4:58 
AnswerRe: problem in do-while loop Pin
raheela12331-May-09 1:15
raheela12331-May-09 1:15 
GeneralRe: problem in do-while loop Pin
kenna18031-May-09 7:04
kenna18031-May-09 7:04 
QuestionUsing NetBeans IDE Pin
Reagan Conservative29-May-09 11:03
Reagan Conservative29-May-09 11:03 
AnswerRe: Using NetBeans IDE Pin
fly90429-May-09 11:32
fly90429-May-09 11:32 
GeneralRe: Using NetBeans IDE Pin
Reagan Conservative29-May-09 11:36
Reagan Conservative29-May-09 11:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.