import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
...

Java MySQL code

by vikasvrao, May 23, 2008 18:27, 2 refactorings

I'm using this as the core ...

285b210dadc7b994f64ef19485a44c7d Talk
import java.util.Scanner;

public class AsciiSquare
...

Java ascii square

by kefestetayyus.blogspot.com, May 09, 2008 12:44, 5 refactorings, tagged with ascii, java, square, basic

Simply prints a square with...

55502f40dc8b7c769880b10874abc9d0 Talk
public PreviewTreeModel(Collection<FileDescription> files)
	{
...

Java Create a tree out of a coll...

by Loid, March 02, 2008 19:14, 1 refactoring, tagged with speed, file, tree

I would like to transform a...

29389e14fe7aea8d5517c69660b3964d Talk
/**
     * warning performs a cartesian product
     * @param list of NameAddress objects
...

Java clean up nested loops?

by getopenid.com/garretokelly, January 16, 2008 21:10, 6 refactorings

Given a list of NameAddress...

55502f40dc8b7c769880b10874abc9d0 Talk
public class Car {

  public static class Builder {
...

Java Fluent Builder

by Jeremy Weiskotten, December 24, 2007 02:56, 2 refactorings, tagged with java, fluent interface, builder

Here's an example of the Bu...

5170ca260dbd2cdfd5a887a4dba7636f Talk
/**
 * ================================================================
 * Enterprise Managerial
...

Java Widget Mirror

by fenix, December 09, 2007 15:03, No refactoring, tagged with mirrored, Widget, QWidget, Widget Mirror

Hi at all, I try to reply a...

017ec70e269e6f69ed8979f8b41bb5d3 Talk
GridBagConstraints c = new GridBagConstraints();
		c.insets.bottom = 2;
		c.insets.top = 2;
...

Java Swing GridBagLayout in calc...

by staykovmarin, November 21, 2007 04:42, 6 refactorings, tagged with swing

Writing a calculator type a...

372b535c68f29d5fe04052c7b1d96255 Talk
import java.util.Scanner;
import java.util.Arrays;

...

Java Incompatible Types

by splinter03.myopenid.com, November 10, 2007 12:44, 2 refactorings

It has some problems incomp...

55502f40dc8b7c769880b10874abc9d0 Talk
public class Space {
    private int count;
    private String varStr;
...

Java Cannot Ref from Static Content

by Mark Webb, November 09, 2007 14:45, 7 refactorings

If anyone can tell me what ...

E41e6fdad12edcfb97ab662e83bfb9ab Talk
package net.alessandropetrozzelli;

class InvalidISINCharacterException
...

Java ISIN check digit

by Alessandro Petrozzelli, November 07, 2007 13:38, 3 refactorings, tagged with isin

based on http://en.wikipedi...

79e19248515416c441c3520fa5b17b7d Talk
public class SchoolRoom {
    private String [] students;
...

Java Help with new methods

by Mark Webb, November 06, 2007 07:28, 6 refactorings

Having some trouble with th...

E41e6fdad12edcfb97ab662e83bfb9ab Talk
import java.util.Scanner;
import static java.lang.Math.*;

...

Java Rational numbers

by jujon.myopenid.com, November 06, 2007 05:13, 4 refactorings

I'm trying to define a clas...

55502f40dc8b7c769880b10874abc9d0 Talk
public class Bus {
    private String TYPE;
    private int MAX_RANGE;
...

Java Equals Method

by splinter03.myopenid.com, November 05, 2007 11:53, 18 refactorings

Hi all,

Ive been doing ...

55502f40dc8b7c769880b10874abc9d0 Talk
public class Parks {
    private String[] parkingBays;
    private int numCars;
...

Java Errors With Exception

by Mark Webb, November 05, 2007 07:03, 4 refactorings

It compiles, although when ...

E41e6fdad12edcfb97ab662e83bfb9ab Talk
/** 
  * This is a method which will gather the pixels
  * of the 8 pixels surrounding a given pixel
...

Java Detect neighboring pixels

by Mike, October 26, 2007 04:21, 5 refactorings

I hate written a method to ...

55502f40dc8b7c769880b10874abc9d0 Talk
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
...

Java Email addresses validator

by Hbiloo, October 11, 2007 11:08, 5 refactorings

This class validates email ...

209706bf7bd1053b8670759fd4937fe2 Talk
public class HelloWorld
{
    public static void main( String[] args )
...

Java Hello World

by bengold, October 06, 2007 09:16, 8 refactorings

This is just a little progr...

A216448a699b8cb7e3f70fba31d76974 Talk
import java.util.Arrays;

...

Java Fastest way to sort doubles...

by tech.povera.myopenid.com/, October 02, 2007 03:16, 4 refactorings

I want the quickest possibl...

7eee12106959a2851db2fb36a7da68c0 Talk
import java.util.Calendar;
import java.util.Date;
import java.text.ParseException;
...

Java Parse a Calendar object fro...

by cheep, October 01, 2007 16:22, 2 refactorings

This code depends on parsin...

Bf32c39fd7577c00d63bc508c45cf4b2 Talk
public static long randomNumber(int min, int max) {
	return Math.round((Math.random() * (max - min)) + min);
}

Java Get a random number within ...

by diskostu, October 01, 2007 00:50, 42 refactorings

The title sais it: you'll g...

5b43e682db733a3140aceafa4f474afb Talk
import java.util.Hashtable;

class Employee 
...

Java sample java program

by nikhil, September 28, 2007 01:46, 14 refactorings

sample java program

1da96b7fc560c3e0c65ff4ac0872a5eb Talk
if (uniqueNumberInteger != null)
{
	// Info: Based on the last digit of a listing number we know whether a listing is
...

Java Job, Product, Resume

by Joe, September 28, 2007 01:45, 2 refactorings

These if/thens for Job, Pr...

9a0ce897cdb52a18fa5c76e3309def16 Talk