Fabian Ros

Fabian Ros

Random Password Generator Using JavaScript

This Simple Program allows user to enter password length and generates Random Password according to user’s length. Follow These Instructions :- First, Create Html Code: <form name=”pgenerate”> <input type=”text” size=18 name=”output”> <input type=”button” value=”Generate Password” onClick=”populateform(this.form.thelength.value)”><br /> <b>Password Length:</b> <input…

Read And Write Images In Java

To read and write image files from local disk or from any URL, javax.imageio.ImageIO class is used. javax.imageio.ImageIO is a final class with some static methods which are useful for image processing. Java Program To Read & Write Image From Local Disc:- import java.awt.image.BufferedImage;…

How To Format Date In Java?

SimpleDateFormat class of java.text package is used to format given Date object in different pattern. This class has 2 important methods – “parse()” and “format()”. To convert string to Date in java parse() method is used and  To format the Date object in desired patterns like dd-MM-yyyy, yyyy/MM/dd hh:mm:ss etc format() method is…