This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to do Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to do "Insert Table & Form" in my Java program?" Watch "How to do "Insert Table & Form" in my Java program?" New topic

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

Eva Joe

Joined: Nov 22, 2003
Posts: 1
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

Joined: Oct 29, 2001
Posts: 8715

You can start with the Swing Tutorial. Lots of examples in there.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: How to do "Insert Table & Form" in my Java program?
Similar Threads
Choice between various java technologies(urgent)
which java technology to use??
Java Api for MS Word Table Handling
Insert & Update
iBATIS multiple parameterClass