Search:
Type: Posts; User: Joe Nellis
Search:
Search took 0.09 seconds; generated 52 minute(s) ago.
-
March 25th, 2007, 01:31 PM
Look at the string-join() xpath method.
-
November 29th, 2006, 04:46 PM
Image I/O has a package for working with Tiff.
http://java.sun.com/products/java-media/jai/forDevelopers/jai-imageio-1_0-docs/com/sun/media/imageio/plugins/tiff/package-summary.html
Many image...
-
October 25th, 2006, 12:46 AM
You are asking for a mechanism that fits the profile of a trojan or virus installer, so I doubt you'll solve this problem this way. Best just to sign the applet and forget about the user...
-
August 12th, 2006, 11:14 PM
Try placing your file in the web-inf folder.
-
June 28th, 2006, 05:47 PM
You can use the java.awt.Robot class to get a screen shotof the desktop and process from there.
-
December 18th, 2005, 02:37 PM
It is so slow to load. Sometimes it never does and I use IE. This is ridiculous. You would think a site dedicated to programming would actually work. I stop coming here because of the ads and after...
-
December 16th, 2005, 11:12 PM
The sort method also takes a comparator which you can specify to pull an ordering out of the list. This creates and inline implementation of the Comparator interface
// sort list...
-
December 16th, 2005, 10:28 AM
If you read String documentation you would see it overides the Comparable interface. This implies that the String object has a natural ordering. The ordering is lexographic (alphabetical more or...
-
December 14th, 2005, 09:54 PM
java.util.Collections.sort
-
December 9th, 2005, 10:10 AM
What do you have so far? That code looks about 90% java compatible already.
-
December 5th, 2005, 08:50 PM
If you override the toString method then it should return a meaningful human readable text description of that particular object. That is the general contract.
What is going on behind the scenary...
-
December 5th, 2005, 08:33 PM
Normally, a scanner is the first part of a compiling system. It is meant to be used to parse a document into tokens that a compiler might interpret. I have found this class to be very useful on...
-
December 3rd, 2005, 09:49 PM
Probably doesn't work because you are using it wrong.
ALWAYS ALWAYS ALWAYS read the api documentation.
ALWAYS.
You can't program anything unless you read the api and know how to use the...
-
December 3rd, 2005, 03:39 PM
Run is called once and only once. When you start a thread it calls run to get it going. Therefore in your run statement you need to put the code in a while statement so it repeats. The while...
-
December 1st, 2005, 08:52 PM
You can pm it to me if you don't want it public. I'm not really sure what this application is supposed to do. It is for creating metadata about images and storing it in excel format?
-
December 1st, 2005, 01:56 PM
So it sounds like maybe you are holding on to references of the input bufferedimage and the garbage collector is not releasing them. Regardless of file size on the disk (jpeg is compressed), the...
-
December 1st, 2005, 01:20 PM
Please enclose your code snippets in CODE tags to preserve formatting as a courtesy to others. It improves your chances of getting a response.
You don't say what doesn't work about it. What...
-
December 1st, 2005, 01:09 PM
If you package this as an executable jar it will convert all bmp files in the directory it is run from to jpeg 800x600 with bilinear filtering.
package bmp2jpeg;
import...
-
December 1st, 2005, 02:22 AM
It sounds like you are just complaining. I have done a comparison between ImageIO and perl using the ImageMagick library. They are the same speed to load, resize and save in another format. I...
-
November 30th, 2005, 06:45 AM
You must be doing something wrong if loading a 4mb image takes a 1gb internal footprint. Show code. ImageIO works fine for me.
-
November 25th, 2005, 12:58 PM
I don't think there is a reliable solution other than you must set a timeout for the session.
HttpSession.setMaxInactiveInterval(int interval)
You would put your database rectifying code in a...
-
November 23rd, 2005, 10:26 PM
The poster is asking how to find/ween the memory allocation hog in his 250,000 lines of code.
I have not used the profiler yet but it is integrated into the Netbeans IDE which is free....
-
November 22nd, 2005, 10:27 AM
Check your java plugin config in control panel to make sure that the checkbox for IE is clicked in the advanced tab under Applet tag support.
-
November 12th, 2005, 09:22 PM
Use JApplet instead of Applet. Don't mix top level awt components with swing components. Just use swing.
Other than that, I would drop the overrides for destroy, stop, etc. Those are to be...
-
November 10th, 2005, 07:43 PM
http://javaalmanac.com/
Consult the javaalmanac for common snippets of code.
|
Click Here to Expand Forum to Full Width
|