First  |  Prev |  Next  |  Last
Pages: 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
getting pixel from image as single value
hello all, i want to extract the value of each pixel from an image (color or greyscale)as single values.I wrote a function as follows.Here i am getting the green,blue,red components using methods of ColorModel and then taking the average(sum of r,g,b divided by 3).I don't know if this is the right way to do thi... 9 Jul 2008 18:52
remove last item from JList
CBO wrote: I am currently developing a java application that will read in a data file and populate the information from the data file into a JList. The user is able to select an item or multiple items from the JList and then press the delete button which will then remove those items from the JList and ... 8 Jul 2008 22:21
Newbie - JSP problem.
I have a space on a Tomcat server where I have some Java servlets. Compiled servlets are located in /home/catalina/jakarta-tomcat-4.1.29/webapps/myapp/WEB-INF/classes directory I started to learn JSP. Into which directory should I put my .jsp programs? I put my first HelloWorld.jsp to: /home/catalina/jakarta-t... 3 Aug 2008 15:05
XPath speed.
Hello everyone. I've noticed that a lot of time in a few of my code-bases is spent in XPath.evaluate or XPathExpression.evaluate. I've re-written part of it to use direct DOM navigation where feasable with a huge speed increase. I was thinking there must be faster implementation of XPath than the default co... 11 Jul 2008 09:55
Three New JDK versions
Sun has released three new JDKs 1.6_0_17, 1.5.0_16 and 1.4.2_18 The mindprod.com website should be converted in about an hour, including links at http://mindprod.com/jgloss/jdk.html You will need the new versions to use the links to J: drive local docs. -- Roedy Green Canadian Mind Products The Java ... 9 Jul 2008 15:46
java compiler errors on regexs
Hi. I have an array of strings that I'm trying to use in regexs. the following line is generating Several errors: BrowserIdentification.java:17: illegal escape character protected static String[] acceptedUserAgentPatterns = {"MSIE\s?(\d)+ \.", "Firefox/(\d)\."}; It looks like it is complaining about the ... 10 Jul 2008 19:36
arbeitsagentur ausland im ausland zu arbeiten stellenausschreibung ausland stellenangebote aerzte ausland biologe jobs in ausland
arbeitsagentur ausland im ausland zu arbeiten stellenausschreibung ausland stellenangebote aerzte ausland biologe jobs in ausland + + + ARBEITSANGEBOTE IM AUSLAND http://WWW.STELLENANGEBOT-AUSLAND.DE http://WWW.STELLENANGEBOT-AUSLAND.DE + + + AUSLANDSJOBS ONLINE FINDEN http://WWW.AUSLANDSJOBS-24... 8 Jul 2008 17:12
Logging when Tomcat is installed as a service
Hi all, I've running Tomcat 5.5 and I'm using the standard java logging. When I start tomcat from command-line everything works fine. Everyday I got a new juliXXX.log file in my log directory. In catalina.bat I have the following entry: set JAVA_OPTS=%JAVA_OPTS% - Djava.util.logging.manager=org.apache.juli.Cla... 9 Jul 2008 17:50
getting pixel data from image as single value
hi i need to get value of each pixel in an image as a single value.The image may be color or greyscale .I tried as follows.I don't know if i am doing it right,and i want to know if it can be done in more compact manner.If anyone can advise/help pls do import java.awt.color.ColorSpace; import java.awt.image.*; ... 8 Jul 2008 17:12
Notification of low memory condition
Is there any way in Java to get notified when memory is low? I'm guessing the answer is no, but it sure would be useful. I'm holding a large number of objects in memory. It would be helpful to get notified when free memory fell below Xmb so I could free a few of the objects and avoid OutOfMemoryErrors. ... 16 Jul 2008 23:21
First  |  Prev |  Next  |  Last
Pages: 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179