Image Processing Using Java
Hi check this out to process image using Java …I thought its a tough one .but there are lot of standard functions available. ImageProcess.java package Image_Handling; import java.awt.*; import java.awt.image.*; import javax.imageio.*; import java.io.*; import javax.swing.*; import java.awt.event.*; import java.awt.geom.*; public class ImageProcess extends JFrame implements ActionListener { BufferedImage image; JMenu file,edit; JMenuItem open,save,exit,invert,bright,sharp,blur,edge,rotate; JMenuBar … Read more
Audio Player Using Java
Hey check this out ….i hav not implemented full functionality player but i hav tried my best just to play…… Audio.java package Audio_Player; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.net.*; import java.applet.*; public class Audio extends JFrame implements ActionListener,Runnable { JButton p,s; AudioClip wavsong,t,j; public Audio()throws Exception { super(“WavPlayer”); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); show(); JPanel pa=new JPanel(); … Read more
Screen shot using Java
Hi here is the program to take screen shot just like print screen in your windows. Screenshot.java import java.awt.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; public class Screenshot { public static void main(String args[]) throws AWTException, IOException { // capture the whole screen BufferedImage screencapture = new Robot().createScreenCapture( new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()) ); // Save as JPEG … Read more
How To create A JAR File
Hi friends follow the steps carefully to create the jar file. Consider the following example //Here the main class name is Sample class Sample { public static void main(String ar[]) { ———– ———— } } Step 1 : Create the text file that lists the main class name and save it as mainClass.txt Main-Class:Sample Note … Read more
