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

Java: Access a derby database via JDBC

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

Java: Demonstrating a System Tray That Responds to Selection

import java.awt.AWTException;
import java.awt.Image;
import java.awt.MenuItem;
import java.awt.PopupMenu;
import java.awt.SystemTray;
import java.awt

Java: Add Components to JTabbedPane

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.s

Java: How to Call a JavaScript function

import javax.script.Compilable;
import javax.script.CompiledScript;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import

Java: How to Work with Compilable Scripts

import javax.script.Compilable;
import javax.script.CompiledScript;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import

Java: How to use Internationalized Domain Names (IDNs)

import java.net.IDN;
public class ExampleIDN 
{
  public static void main(String[] args) {
    String url = "www.facebook.com";
    String ascii = ID

Java: How to use swingWorker to run Background task

import java.awt.LayoutManager;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyChangeEvent;
i

Java: How to Use JavaScript engin

import java.util.List;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineFactory;
import javax.script.ScriptEngineManager;
public cla

Java: How to retrieve the Supported File Extensions of a Scripting Engine

import java.util.List;
import javax.script.ScriptEngineFactory;
import javax.script.ScriptEngineManager;
public class ExtensionFile {
  public static

Java: How to get Script engine by his extension name

import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
public class ScriptName {
  public static void main(String[] args) {
    S

Java: Variables bound through ScriptEngine

import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.Bindings;
import javax.script.ScriptContext;
public cl

Java: Using Java Objects in JavaScript

import javax.script.ScriptEngineManager;
import javax.script.ScriptEngine;
import javax.script.ScriptException;
public class ObjectJavaJS
{
  public

Java: How to get the disk total space

import java.io.File;
public class DiskTotalSpace
 {
  public static void main(String[] args) 
{
    File[] racines = File.listRoots();
    for (

Java: How to convert IDN.toUnicode(String s)

import java.net.IDN;
public class IDNUnicode {
  public static void main(String[] args) {
   String url = "www.facebook.com";
    String unicode = ID

Java: How to run JavaScript and get the result by using Java

import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
public class JavaScriptToJava {
  pub