This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to do "Insert Table & Form" in my Java program?

 
Eva Joe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to build up a program in Java that can insert image, table, text and form into the JTextPane..
I dunno how to input table and form?
Any example?
Let say, when user click on Insert table, it should pop out a dialog box and require the user to fill in the number of rows and column of the table that he would like to create....
Same with the form creation, it should have many items such as button, textbox... that can be added into the form..
How to do all these?? Thanks!!!
 
Joe Ess
Bartender
Posts: 9256
9
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can start with the Swing Tutorial. Lots of examples in there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic