Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: Moving an Image using AffineTransform class

/*
License for sako adams adamafitini@gmail.com
You can use the examples and the source code any way you want, but
please include a reference to wher

Java: How to use JColorChooser

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class JColorChooserExample extends JFrame
{
    JLabel myLabel;
    Color cur

Java: Create a JLabel component

import javax.swing.*;
public class JLabelTest
 {
  public static void main(String[] args)
   {
   	// Create an object of JLabel class
    JLabel lab

Java: Example of an underline and strikethrough text

  import java.awt.*;
  import java.awt.font.TextAttribute;
  import java.text.*;
  import javax.swing.*;
  public class AttributText
		{
		 public st

Java: How to create forms by using swing components

import javax.swing.*;
import java.awt.*;
public class JavaForms
 {
  public static void main(String[] args) {
    JTextField txtName = new JTextField

Java: Filtering a JTable

import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.RowFilter;
import javax.swing.table.Def

Java: Create MDI Application using JDesktopPane class

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class JavaMDI extends JFrame
{
	private JDesktopPane theDesktop;
	public Jav

Java: blur an image using Kernel class.

import java.awt.image.BufferedImage;
import java.awt.image.BufferedImageOp;
import java.awt.image.ConvolveOp;
import java.awt.image.Kernel;
i

Java: How to change JFrame icon

 import java.awt.*;
 import java.awt.event.*;
 import javax.swing.*;
  public class JFrameIcon extends JFrame
  {
  	public JFrameIcon()
  	{

Java: Printing Text Component

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JButton;
import java.awt.BorderLayout;
im

Java: Create a Translucent JPanel

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTable;
import javax.swing.JTabbedPane;
import j

Java: How to use a JTable

import javax.swing.*;
import javax.swing.table.*;
import java.awt.event.*;
import java.awt.*;
import java.awt.event.*;
/***
 *
 * Créer une table et

Java: How to Modeless Dialog Box

import java.awt.Dialog;
import java.awt.FlowLayout;
import javax.swing.JDialog;
import javax.swing.JFrame;
public class DialogNonModale {
  pub

Java: Using RowSorter to sort a JTable

import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.RowSorter

Java: Anonymous inner class

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JOp