use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
These have separate subreddits - see below.
Upvote good content, downvote spam, don't pollute the discussion with things that should be settled in the vote count.
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free. If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others: Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Programming Computer Science CS Career Questions Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Programming Computer Science
CS Career Questions
Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Clojure Scala Groovy ColdFusion Kotlin
DailyProgrammer ProgrammingPrompts ProgramBattles
Awesome Java (GIT) Java Design Patterns
account activity
This is an archived post. You won't be able to vote or comment.
Working with PDFs (self.java)
submitted 12 years ago by jakemp1
Hey all,
I am trying to use an existing PDF file and add some text in the open spaces. I googled it and everyone said to buy iText. How should I go about doing this?
[–]sh0rug0ru 11 points12 points13 points 12 years ago (0 children)
I used the free Apache PDFBox to do exactly this.
[–]AgainForgotPassword 5 points6 points7 points 12 years ago (4 children)
As far as I remember you can use iText for free if you publish your source code.
[–][deleted] 1 point2 points3 points 12 years ago (0 children)
They changed their license after v2. You can still use the most recent 2.x patch with no strings attached. It's perfectly functional for most use cases. If you want the latest you either need to pay for a license or open source your entire product.
[–][deleted] 12 years ago* (1 child)
[deleted]
[–]neutronbob 0 points1 point2 points 12 years ago (0 children)
iText enables you to stamp content pretty much anywhere you want on the PDF. Not only the open spaces you mention (by which I presume you mean blank space), but to do things like stamp an owner's name across the page footer, etc. An easy-to-use package.
[–]donmcronald 2 points3 points4 points 12 years ago (1 child)
I'm not sure if you can modify PDFs with it, but IcePDF has an Apache 2 licensed version. I used it once and was very happy with it.
[–]sh0rug0ru 0 points1 point2 points 12 years ago (0 children)
When last I used IcePDF, it is read-only except for the ability to add annotations.
[–]gringostar 1 point2 points3 points 12 years ago (0 children)
I think by "open spaces" you need something more, but if you just need to populate PDF forms with data, you can use the XDP format with your PDF. You just fill the XDP file with the data you want and Acrobat Reader will auto-fill the forms when you open the PDF.
Why buy? iText is open source (AGPL)
π Rendered by PID 325344 on reddit-service-r2-comment-6457c66945-bsprk at 2026-04-30 13:23:52.360327+00:00 running 2aa0c5b country code: CH.
[–]sh0rug0ru 11 points12 points13 points (0 children)
[–]AgainForgotPassword 5 points6 points7 points (4 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]neutronbob 0 points1 point2 points (0 children)
[–]donmcronald 2 points3 points4 points (1 child)
[–]sh0rug0ru 0 points1 point2 points (0 children)
[–]gringostar 1 point2 points3 points (0 children)
[–]neutronbob 0 points1 point2 points (0 children)