This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Attaching documents  RSS feed

 
Amy Phillips
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am hoping to create a feature where users can use a fileselector to select a document and then attach this to one of my system objects. The selected file should ideally be copied into a system folder, a link to that document stored into the database and an icon displayed in the object's JTextPane. When the icon is clicked the document should open.
Can anyone give me any tips or tutorials which might help me do any of these things?
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!