First  |  Prev |  Next  |  Last
Pages: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
How to append to textarea immediately?
In the following test applet, I would like to have the "Begin counting " display immediately, and the "End counting" to display when finished, instead the applet waits until the end of the counting loop and then displays the text all at once. How can I get it to work properly? public class Test extends JApplet {... 13 Jul 2010 17:31
Collections - Set to prevent duplicating items
Hello, I guess my problem is "no-brainer" to some of you, but for now I fell completely helpless. Here is an easiest example: package test; import java.util.*; class Vertex { int number; public Vertex(int number) { this.number = number; } public String toString() { return number + ""; } ... 12 Jul 2010 17:22
floating point display problem
Hi, everyone My java compiler and interpreter cannot display floating point variable. public class PrintTest { public static void main(String[] args) { double a = 3.141592; System.out.println(a); } } The routine above does not display 3.141592. My compiler version is frog1120:/home/f... 14 Jul 2010 21:59
POI Excel Sheet String Formats
How can I use a Cell Format to generate a string which uses that format. ... 12 Jul 2010 08:29
Best Java Collection Book
Hi all, I m aware of Java programming but don't know the features provided by Java. So want to learn Java Collections.Please direct me to a proper book . ... 12 Jul 2010 10:40
JFrame window dimensions
package temporary; import java.awt.*; import java.awt.geom.*; import javax.swing.*; public class Temp extends JFrame { Graphics2D painter2D; static int W = 1200; static int H = 600; static int B = 10; // border public Temp() { super("Temp"); setSize(W + 8, H +... 12 Jul 2010 09:34
Documentation hiding
Oracle has been pulling documentation off the Sun website and giving it strange new URLs to make it hard to find the new docs. e.g. // used to be: http://java.sun.com/docs/books/tutorial/extra/regex/quant.html // now: http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/essential/regex/quant.html The... 13 Jul 2010 13:06
Generics: instantiating an object from a class name in configuration
On 09-07-2010 19:07, Simon Brooke wrote: OK, here's a problem which many people must have encountered, and there must be a 'best practice' solution. I have a thing which is configurable by plugging other things into it. Obviously the other things I plug in must conform to specific interfaces, but what... 13 Jul 2010 18:37
Generics: instantiating an object from a class name inconfiguration
OK, here's a problem which many people must have encountered, and there must be a 'best practice' solution. I have a thing which is configurable by plugging other things into it. Obviously the other things I plug in must conform to specific interfaces, but what thing I actually plug in is determined at run-tim... 10 Jul 2010 14:54
Hibernate in Java Question
Hello Everyone :) I'm hoping you can help, I've been stuck on a project that uses Hibernate to persist the objects in it, unfortunately the peice of functionality i have to implement is to pull two Objects out of the Database which are linked in a one to one relationship. The project uses Annotations which i n... 14 Jul 2010 12:03
First  |  Prev |  Next  |  Last
Pages: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22