Java On Swing GridBagLayout in calc...

by Volker, February 13, 2009 10:03

Andy,

refactoring is not...

066d4d040ad1610feac02457195f86cd Talk
package com.test.refactoring;

import java.util.Scanner;
...

Java On ACSL Pinochle Intermediate ...

by sr, February 11, 2009 22:14
D41d8cd98f00b204e9800998ecf8427e Talk
package com.test.refactoring;

import java.util.Scanner;
...

Java On ACSL Pinochle Intermediate ...

by ss, February 11, 2009 21:36
D41d8cd98f00b204e9800998ecf8427e Talk
System.out.print("SUCKER!!!");

Java On ACSL Pinochle Intermediate ...

by Bob, February 11, 2009 13:46 Star_full
754ede791b6aaf8c0938d80b83c4703e Talk
package psigate.model;

import java.util.ArrayList;
...

Java On PSiGate

by Marco Valtas, January 31, 2009 02:00

Here's some Java way to thi...

0706636fd5e30fa66019d7ffacdb5b11 Talk

Java On PSiGate

by Kaloyan, January 30, 2009 08:16

Have you used commons-httpc...

F5580b2585a846f86b5c60be5310e0d3 Talk
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.BufferedReader;
...

Java On PSiGate

by Adam, January 30, 2009 06:30

Disclaimer: Not a Java person.

A8d3f35baafdaea851914b17dae9e1fc Talk
String strData = "<Order>\r\n" +
                 "	<StoreID>teststore055</StoreID>\r\n" +
                 "   <Passphrase>testpass055</Passphrase>\r\n" +
...

Java On PSiGate

by bob, January 30, 2009 02:20

Wow. The general approach f...

D41d8cd98f00b204e9800998ecf8427e Talk
public static int myRandom (int min, int max) 
{
    return min + (int)Math.round((Math.random() * (max - min)));
...

Java On Get a random number within ...

by Ben, January 18, 2009 00:53

What Gordon posted will fai...

336d5ebc5436534e61d16e63ddfca327 Talk
import static java.util.Arrays.asList;
...

Java On Factoring Integers

by DojoCoders, January 15, 2009 19:49

This is the first pass at r...

86540ce5b6b4db1dcb01908604467938 Talk
/**
 * This class generates all the factors of a number.
 */
...

Java On Factoring Integers

by Uday, January 13, 2009 04:21

Same as Eineki But a little...

Aa51063074d27595a949ed1e0fc3e831 Talk

Java On ANTLR / Java

by shankar, January 06, 2009 05:31

hi could u help me to learn...

177fee0ecb19214357b88faeb74901d3 Talk
// line 44 while condition have to change to or you don't apply the last division 
...

Java On Factoring Integers

by Eineki, November 26, 2008 23:24

The two functions, nextFact...

5a00a3a98dcf6f9cd717440fd2b606e5 Talk
public static String[] loadFile(final String f) {
		String thisLine;
		final List<String> s = new ArrayList<String>();
...

Java On Efficiently load a text fil...

by foo, November 25, 2008 08:18 Star_fullStar_fullStar_fullStar_fullStar_full

One disadvantage with your ...

D41d8cd98f00b204e9800998ecf8427e Talk
public boolean hasOwnerShip()
...

Java On Java IRC Bot

by Simo Niemelä, November 04, 2008 11:46
23132e1aa8457e11b243a43b578d51dc Talk
public static String getRelativePath(File file, File relativeTo)
  {
    String path = "";
...

Java On get path of a File relative...

by Mustafa, November 03, 2008 07:45

I cannot say that this is a...

Ee573f2fb953ffeb544fca3e4d12ffad Talk
import java.util.Scanner;
import java.util.Random;

...

Java On Guessing Game

by RG, October 27, 2008 18:20 Star_fullStar_full
Ecb440cab118ff2af192eeda62173382 Talk
import java.util.Scanner;
import java.util.Random;

...

Java On Guessing Game

by halogenandtoast, October 27, 2008 15:34

Reduced your code a bit, no...

B066cb3c505933f832faa83238489a89 Talk
import java.util.Scanner;

public class LeapYear {
...

Java On Leapyear

by juo100@gmail.com, October 27, 2008 11:45

Thanks for all the refactor...

B543a43dc8cb0aae562278484db60d25 Talk

Java On Processing / Java

by Simon Hartley, October 25, 2008 13:25

I take back what I said. I ...

81a73740df646bc6cccbfef6fab61ec9 Talk

Java On Processing / Java

by Simon Hartley, October 25, 2008 13:12

I think the reason that thi...

81a73740df646bc6cccbfef6fab61ec9 Talk
package ircbot;

/**
...

Java On Java IRC Bot

by Simon Hartley, October 25, 2008 12:20

To increase clarity I've se...

81a73740df646bc6cccbfef6fab61ec9 Talk

Java On Internationalize Exceptions

by David Linsin, October 22, 2008 05:27

It is only passed in the co...

Ef079515af1c9963c7cd33e0b4f00e88 Talk

Java On Internationalize Exceptions

by barabaka.myopenid.com, October 21, 2008 15:55 Star_fullStar_fullStar_full

I guess there is no need of...

55502f40dc8b7c769880b10874abc9d0 Talk
bool isLeap (int year)
...

Java On Leapyear

by Debajit, October 17, 2008 20:08 Star_fullStar_full

First of all, you've mixed ...

10227e415d1c4e4e1cc719c6ccd70934 Talk