On Sat, Jul 20, 2013 at 12:57 AM, sumit jagtap <[email protected]>wrote:

>
> Hello , I want to know how to convert jtable data to AutoCAD file
> format(i.e .DXF or .DWG) . or is there any library or API to do this things
> in JAVA ???
>
> please help....
>
>
Just to be clear, JTable refers to javax.swing.JTable correct? JTable isn't
intended to store data, it's used only for display purposes. If you have
data in a JTable, then you probably also have the original arrays
containing the data. Write them out into a CSV or Excel file and use
AutoCAD's Data Extraction Wizard to pull the data into AutoCAD where you
can save it as you like.

Alternatively, if you don't have the original arrays containing the data,
you can generate those arrays by using JTable's getValueAt() and iterating
through all the rows and columns. Then save them into a file and extract
them into AutoCAD.

-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com




-- 
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to