http://examples.oreilly.com/jenut2/2nd_edition/ te donnera pas mal d'exemples pour des traitements sur des images, et tellement d'autres choses aussi...
Un petit exemple qui fait ça :
import java.awt.*;
import javax.swing.*;
// compile : javac Filigrane.java // run : java Filigrane
public class Filigrane extends JApplet {
public static void main(String[] args) { System.setProperty("apple.awt.brushMetalLook", "true"); JFrame f = new JFrame("Filigrane"); f.addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent e) { System.exit(0); } });
Filigrane applet = new Filigrane(); applet.init(); applet.start();
http://examples.oreilly.com/jenut2/2nd_edition/
te donnera pas mal d'exemples pour des traitements sur des images, et
tellement d'autres choses aussi...
Un petit exemple qui fait ça :
import java.awt.*;
import javax.swing.*;
// compile : javac Filigrane.java
// run : java Filigrane
public class Filigrane extends JApplet {
public static void main(String[] args) {
System.setProperty("apple.awt.brushMetalLook", "true");
JFrame f = new JFrame("Filigrane");
f.addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
Filigrane applet = new Filigrane();
applet.init();
applet.start();
http://examples.oreilly.com/jenut2/2nd_edition/ te donnera pas mal d'exemples pour des traitements sur des images, et tellement d'autres choses aussi...
Un petit exemple qui fait ça :
import java.awt.*;
import javax.swing.*;
// compile : javac Filigrane.java // run : java Filigrane
public class Filigrane extends JApplet {
public static void main(String[] args) { System.setProperty("apple.awt.brushMetalLook", "true"); JFrame f = new JFrame("Filigrane"); f.addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent e) { System.exit(0); } });
Filigrane applet = new Filigrane(); applet.init(); applet.start();