Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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: 9362
11
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.
 
Bring out your dead! Or a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!