First  |  Prev |  Next  |  Last
Pages: 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
Best way to limit max number of characters per line in JEditorPane ?
Hi, I need to write swing based editor using which allows the user to write a plain text document, which has a fixed maximum column width. The column width will be supplied by the model class later. I finally managed to write one using a document filter, as shown below. My question is this the best (or a reasona... 19 Jan 2010 11:14
registering gc life cycle events ...
~ */javase/6/docs/api/java/lang/management/GarbageCollectorMXBean.html ~ defines .getCollectionCount() and .getCollectionTime() as this interface's methods ~ but what I'd wish some class would have is hooks like: ~ .doRightBeforeCollection(Object ORBC, boolean Do) and .doRightAfterCollection(Object ORAC,... 17 Jan 2010 21:43
Distributing projects.
Hello, I have a project that I've been working on, and its nearly ready for beta distribution. It's on sourceforge if that makes any difference. The program itself can be distributed as a single executable jar file, but there are other files that should be included. For one thing, at least some "getting s... 17 Jan 2010 22:49
Crash Course In Modern Hardware
Students of Java may enjoy this "Crash Course In Modern Hardware." "In this presentation from the JVM Languages Summit 2009, Cliff Click discusses the Von Neumann architecture, CISC vs RISC, the rise of multicore, Instruction-Level Parallelism (ILP), pipelining, out-of-order dispatch, static vs dynamic ILP, pe... 22 Jan 2010 11:46
Creating pdf files
Helllo, Can anybody tell me a way to produce pdf files with contents of varying font and font sizes in java.Is there any apis avilable ... 17 Jan 2010 19:30
JDK 1.6.0_18 released
Sun has released a new JDK 1.6.0_18. You can get it at http://java.sun.com/javase/downloads/index.jsp -- Roedy Green Canadian Mind Products http://mindprod.com There is no end to what can be accomplished if you don�t care who gets the credit. ~ Art Rennison ... 14 Jan 2010 13:31
WHy jump in this code ?
In the following coe, at the indicated line (// <<==) , why would the the computer jump to "finally" and forget about the following lines ? Stepping through the code shows that behaviour. If I take out the "finally" and just "return ret;", it DOES execute the following lines and it does not jump to any "catch"... ... 17 Jan 2010 13:54
Problem reading/writing U.K. pound sign
I am reading and writing a files which contains the U.K pound sign £ But it is not being written correctly to the output file, even though I am specifying UTF-8 Should this code work? Reading : InputStream fr; BufferedReader br; try { fr = new FileInputStream(strDocumentFile); ... 15 Jan 2010 11:34
diff between openjdk, and sun/ibm javajdk
X-No-Archive: Yes hi... looking over the net, trying to figure out the diff between javajdk with redhat, and the sun/ibmjdk.. any good sites that expain the diff? thanks ... 11 Jan 2010 18:44
test no archive..
X-No-Archive: Yes testing... ... 11 Jan 2010 15:21
First  |  Prev |  Next  |  Last
Pages: 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86