• Post Reply Bookmark Topic Watch Topic
  • New Topic

can swing embed a html table in any kind of panel ?  RSS feed

 
Steve Mutanson
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to swing. Here is what I try to do ---

I create a frame containing some panels. User inputs some parameters in some fields, then click "Get Results in Table" button. I want it pops up another frame or panel or whatever. In this new Panel it will includes a HTML type table containing the calculation results based on user's previous parameter inputs. Can swing do this ? any specific component I should use ? Please be aware I want a HTML format table.

thanks
 
Petr Blahos
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. JEditorPane can display HTML. I believe there is a tutorial
on java.sun.com.

P.
 
Steve Mutanson
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A follow-up question --- If swing can display html table, how to print it out ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!