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
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
Generics: instantiating an object from a class name in configuration
On Sun, 11 Jul 2010 10:44:17 +0200, Robert Klemme wrote: From the point of modularity I would definitively refactor the creation code out into a separate method - even if it's just a private one. This helps keep your other method much more readable. Fair point. Indeed, as I do exactly similar things wit... 12 Jul 2010 04:09
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
Generics: instantiating an object from a class name in configuration
On 10.07.2010 19:56, Simon Brooke wrote: On Sat, 10 Jul 2010 08:15:52 -0700, markspace wrote: Robert Klemme wrote: This is even better because you don't even need a cast: final Class<? extends Authenticator> cl = Class.forName(className).asSubclass(Authenticator.class); ... 11 Jul 2010 05:03
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
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