Results 1 to 6 of 6

Thread: Pdf viewer

  1. #1
    zeebelgium is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default Pdf viewer

    Hi everybody,

    I developed pdf viewer using java and I developed features like
    save pdf,print pdf,zoom in/out,Single Pageview. Now my requirement
    is to add a book view/turning page to my pdf viewer. So any body
    can help me regarding this feature.

    Thanks&Regards
    Zee

  2. #2
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Default

    you mean a swing design?

  3. #3
    zeebelgium is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default

    yes i am developing using swings

  4. #4
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Lightbulb

    Emm ...

    You can simply paint a background book right in your JPanel :)
    Use Image for this

    Java Code:
    Image image=ImageIO.read(...);
    
    JPanel p=new JPanel()
    {
    
    paintComponent(Graphics g)
    {
    g.drawImage(image,0,0,width,height,null);
    }
    
    };
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

  5. #5
    JavaMe is offline Member
    Join Date
    Jun 2010
    Posts
    4
    Rep Power
    0

    Default

    What library are you using to see PDFs?

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

Similar Threads

  1. Jface Viewer help
    By JohnTayler in forum SWT / JFace
    Replies: 2
    Last Post: 04-22-2009, 11:28 PM
  2. File Viewer in SWT
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 07:59 PM
  3. Annotation Viewer
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-16-2008, 11:01 PM
  4. iSQL-Viewer 3.0.1
    By Jamie in forum Java Software
    Replies: 0
    Last Post: 06-14-2007, 03:01 PM
  5. iSQL-Viewer 3.0.0
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-04-2007, 08:06 AM

Posting Permissions

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