Convert Text To PDF
Here we are discussing the convertion of a text file into a pdf file by using an example. In this example we take a string from console, pass this string into an object of paragraph class. Pass this paragraph object into the add() method of the document
Java Date Conversion
In java date conversion, two packages are used .They are java.util.* and java.text.*. The java.util.* package provides three subclasses that are named as java.util.Date, java.util.Time and java.util.Timestamp class.
Applet versus Application
Applets as previously described, are the small programs while applications are larger programs. Applets don't have the main method while in an application execution starts with the main method. Applets can run in our browser's window or in an appletviewer