Results 1 to 6 of 6
  1. #1
    Taron is offline Member
    Join Date
    Nov 2010
    Posts
    3
    Rep Power
    0

    Exclamation Save form as .pdf file?

    Hey everyone!

    So I'm new to programming and I'm making a form with NetBeans using Swing and ultimately I want to know if there is any way to save the form as a .pdf file? It can look like an image. I just need it to print it. After i save the fine, I want go back and use it again? Is this at all possible? What criteria must I meet to do this?

    edit:

    this is an application i'm making that's only supposed to be ran on the desktop. so idk if i need a database for it? any help is appreciated.
    Last edited by Taron; 11-14-2010 at 06:58 AM.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    First of all, please stick with a one question in a single thread. Unless stuff are related, otherwise please start a new thread for the new question in appropriate sub-forum.

    Regarding the first question. Is your final requirement to take a printout of the form, save it as an image, or both?

    Second question. Database is nothing to do with a desktop application specifically. Its all depends on your requirement and the design.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default

    Last edited by DarrylBurke; 11-15-2010 at 04:19 AM.

  5. #5
    Taron is offline Member
    Join Date
    Nov 2010
    Posts
    3
    Rep Power
    0

    Default

    Fubarable - I'll take a look at it.

    Eranga - sorry about the two questions. I'm new here. won't happen again.
    My final requirement is to save it as an image and let the person do whatever he wants to do with it. perhaps print it or just have it saved on the computer.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Taron View Post
    Eranga - sorry about the two questions. I'm new here. won't happen again.
    My final requirement is to save it as an image and let the person do whatever he wants to do with it. perhaps print it or just have it saved on the computer.
    Never mind. Next time please pay your attention.

    Regarding your question. Search our forum or the Google. You can find quite similar stuff. However cross-posting is not encourage other members to helping out you, including me. So stick with a one and put your effort. Just posting your question in a forum not helps you to find the solutions in each case.

Similar Threads

  1. Save .txt file
    By Moose in forum Java Applets
    Replies: 1
    Last Post: 10-28-2010, 12:59 AM
  2. save file based on file extension
    By masa in forum AWT / Swing
    Replies: 4
    Last Post: 05-11-2010, 12:17 PM
  3. Create a form, input some data and save to file
    By cselic in forum AWT / Swing
    Replies: 5
    Last Post: 05-07-2010, 01:28 PM
  4. Replies: 0
    Last Post: 03-05-2010, 05:21 AM
  5. Save file
    By dejos456 in forum New To Java
    Replies: 4
    Last Post: 11-28-2009, 04:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •