<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>JavaRanch Other Java APIs</title>
        <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&amp;f=45</link>
        <description>A Friendly Place for Java Greenhorns</description>
        <image>
            <url>http://saloon.javaranch.com/ubb/moosefly.gif</url>
            <title>JavaRanch Big Moose Saloon</title>
            <link>http://saloon.javaranch.com/</link>
        </image>
        <language>en-us</language>
        <generator>JavaRanch RSS</generator>
        <copyright>Copyright 2007 Paul Wheaton. All Rights Reserved.</copyright>
        <item uniqueID="45-004233">
            <title>I want to execute a small application on the startup in windows xp</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004233</link>
            <description>I want to execute a small application on the startup in windows xp.Can anyone tell me the procedure to do it?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004233</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004233sandeep sree</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 10:24:58 MDT</pubDate>
        </item>
        <item uniqueID="45-004232">
            <title>Setting Angle of xaxis Category Labels</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004232</link>
            <description>My chart uses the ClusteredXYBarRenderer. How can I access the label angle and change it?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004232</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004232Steve Dyke</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 08:34:58 MDT</pubDate>
        </item>
        <item uniqueID="45-004230">
            <title>Tiff images - get compression type?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004230</link>
            <description>Hi all!&lt;br /&gt; &lt;br /&gt;I have a peace of code that reads a tiff image that goes something like this:&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;String image = "D:/test/tiffTEST/single1.tif";&lt;br /&gt; &lt;br /&gt;FileSeekableStream stream = null;&lt;br /&gt;try {&lt;br /&gt;stream = new FileSeekableStream(image);&lt;br /&gt;} catch (IOException e) {&lt;br /&gt;e.printStackTrace();&lt;br /&gt;System.exit(0);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;ParameterBlock params = new ParameterBlock();&lt;br /&gt;params.add(stream);&lt;br /&gt; &lt;br /&gt;RenderedOp image1 = JAI.create("tiff", params);&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;After I read my picture I would like to know which compression is used for this picture, LZW, G4, packbits...&lt;br /&gt; &lt;br /&gt;I read about TIFFEncodeParam here:&lt;br /&gt; &lt;br /&gt;http://java.sun.com/products/java...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004230</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004230Ivan Bosnjak</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 08:04:55 MDT</pubDate>
        </item>
        <item uniqueID="45-004229">
            <title>Reg.Jasper Report</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004229</link>
            <description>Can we use "Java Script" in "Jasper Reports".If any possibilities is there pls send me some idea about that.&lt;br /&gt; &lt;br /&gt;Thanks in Advance&lt;br /&gt;Bala</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004229</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004229Bala Rethinam</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 07:26:55 MDT</pubDate>
        </item>
        <item uniqueID="45-004228">
            <title>problem with page size printing html jasperreports</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004228</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I'm porting a web based ERP reporting system. We have the requirement of printing html generated reports. I have no problem with pdf and excel exporters, but I'm not able to generate print friendly html reports. When i print a report, it doesn't fit the A4 page size, even i define that size for the report.&lt;br /&gt; &lt;br /&gt;I'm working with jasperreports 2.0.5 and ireport.&lt;br /&gt; &lt;br /&gt;&#xFFFD;Could you point me out what is the problem behind HTML printing, and if there is a solution for my requirements using jasper reports engine?&lt;br /&gt; &lt;br /&gt;Thanks in advance for your comments.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004228</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004228Mr Big</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 04:20:55 MDT</pubDate>
        </item>
        <item uniqueID="45-004227">
            <title>How to Authenticate user before sending mail using javamail api</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004227</link>
            <description>Hi everybody,&lt;br /&gt; How to authenticate a user his/her credentials are correct or not,&lt;br /&gt;before sending a message(mail) using javamail API. &lt;br /&gt; &lt;br /&gt;Thanks in advance.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004227</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004227zimbu bolleddu</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 00:46:54 MDT</pubDate>
        </item>
        <item uniqueID="45-004226">
            <title>help in using itext</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004226</link>
            <description>how can i use itext to write the script for a submit button to save the pdf form in the server</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004226</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004226shekar nadar</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 06:00:52 MDT</pubDate>
        </item>
        <item uniqueID="45-004225">
            <title>alternative for util.zip</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004225</link>
            <description>hi, CAn any body share the aleternative for Java.util.zip package .. I sthere any jar file(third party),which is support winrar,7zip types&lt;br /&gt; &lt;br /&gt; </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004225</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004225MATHEW ALEX</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 03:52:52 MDT</pubDate>
        </item>
        <item uniqueID="45-004224">
            <title>PixelGrabber or BufferedImage?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004224</link>
            <description>Hi there! I'm going to process an image by its pixels, when I finish that I'll create the new image with the updated pixels. I'm wondering whether I should use the PixelGrabber class and its grabPixels() method or the BufferedImage and its getRGB()/setRGB methods, or other. &lt;br /&gt; BTW, I'm only going to do some simple operations on pixels, such us grey scale transformation.&lt;br /&gt; &lt;br /&gt; Thanks and blessings!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004224</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004224Cooky Lovy</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 02:54:52 MDT</pubDate>
        </item>
        <item uniqueID="45-004223">
            <title>iText getDpiX() returns zero and cannot maintain originality in .png</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004223</link>
            <description>I am trying to print a .png file into pdf and I want the same clarity inside the pdf.&lt;br /&gt;I was trying to&lt;br /&gt;png.scalePercent(72f / jpg.getDpiX() * 100);&lt;br /&gt;but getDpiX() returns zero.&lt;br /&gt;Is there any way to keep the images as it is in pdf rather than default dpi.&lt;br /&gt;The images are large in number and I cannot do something like&lt;br /&gt;png.scalePercent(75);&lt;br /&gt; &lt;br /&gt;Please provide me a mechanism where I can preserve the originality of any .png image on pdf.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004223</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004223Krishna Chaitanya Reddy Balam</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 11:20:50 MDT</pubDate>
        </item>
        <item uniqueID="45-004222">
            <title>Can I compare two jclass refs for equality?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004222</link>
            <description>Can I do the following:&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;jclass a = env-&amp;gt;GetObjectClass( obj );&lt;br /&gt;jclass b = env-&amp;gt;FindClass( "SomeClass" );&lt;br /&gt; &lt;br /&gt;//Is this a proper check?&lt;br /&gt;if ( a == b ) printf( "same" );&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;Are they guaranteed to be the same within one instance of the VM? Will it ever change? What about across startups of the VM (so if I serialized one of them)? &lt;br /&gt; &lt;br /&gt;If not, in JNI how do I check the equality of two object's classes?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004222</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004222Dan Bizman</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 11:08:50 MDT</pubDate>
        </item>
        <item uniqueID="45-004221">
            <title>Need Help</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004221</link>
            <description>Hi,&lt;br /&gt;I need coding how the mailing can be done.i.e.when i start the server i can get the message "your mail has been sended to so and so person"</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004221</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004221Desai Bhagya Lakshmi</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 04:22:49 MDT</pubDate>
        </item>
        <item uniqueID="45-004220">
            <title>Need help separtating bars on my chart</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004220</link>
            <description>I have the following code that generates an overlaid chart with three data series. Two bars and one line. I nees the two bars to be displayed side by side instead of on top of each other.&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;public JFreeChart chart;&lt;br /&gt;&lt;br /&gt;public MakeAChart2(){&lt;br /&gt;&lt;br /&gt;chart = createOverlaidChart();&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private JFreeChart createOverlaidChart() {&lt;br /&gt; &lt;br /&gt; // create plot ...&lt;br /&gt; final IntervalXYDataset data1 = createDataset1();&lt;br /&gt; final XYItemRenderer renderer1 = new XYBarRenderer(0.20);&lt;br /&gt; renderer1.setToolTipGenerator(&lt;br /&gt; new StandardXYToolTipGenerator(&lt;br /&gt; StandardXYToolTipGenerator.DEFAULT_TOOL_TIP_FORMAT,&lt;br /...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004220</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004220Steve Dyke</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 09:28:46 MDT</pubDate>
        </item>
        <item uniqueID="45-004219">
            <title>Need help in JPDFWriter classes</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004219</link>
            <description>Hi &lt;br /&gt;We are using jPDF Writer from qoppa. Suddenly text is not being wrapped when making pdf out of html code. Has any one had this problem? &lt;br /&gt;-Chandra</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004219</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004219chandu kondu</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 07:56:46 MDT</pubDate>
        </item>
        <item uniqueID="45-004218">
            <title>JXL.jar/ Excel API/ FLOAT problem</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004218</link>
            <description>Hi!!&lt;br /&gt; &lt;br /&gt;I have developed an application, where we can be able to download excel sheet. Excel task uses the jxl.jar library. Everything works fine for me.&lt;br /&gt; &lt;br /&gt;The problem is related to float value in excel sheet. The value displayed are exactly correct in excel sheet which matches my database data. But when we click on the cell value, it shows a float value with 11 digits of precision. But i want the exaclty the same value, even when i highlight by clicking on the cell.&lt;br /&gt; &lt;br /&gt;I followed the URL:http://www.andykhan.com/jexcelapi/tutorial.html&lt;br /&gt; &lt;br /&gt;I tried every possibilities, but of no merit.&lt;br /&gt; &lt;br /&gt;Thanks.&lt;br /&gt;Jaime</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004218</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004218jaime de guzman</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 05:12:46 MDT</pubDate>
        </item>
        <item uniqueID="45-004217">
            <title>can we automate any audio player using java?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004217</link>
            <description>i want to how ca n we automate any audio player in java.i want to controll the audio player..&lt;br /&gt;please suggest me if anyone known</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004217</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004217Kalees Waran</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 03:54:30 MDT</pubDate>
        </item>
        <item uniqueID="45-004216">
            <title>Reading Media File Details</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004216</link>
            <description>Dear Ranchers,&lt;br /&gt;I want to make a Media Organizer which allows a user to edit his music file details as one of the features.&lt;br /&gt;For that I need to know how to access those details (like Title, Artist, Genre).&lt;br /&gt;I went through Java Media Framework and seriously all I understood was that it provides a player for playing media files. &lt;br /&gt;Is JMF the package that will provide me with classes and methods to access those details?&lt;br /&gt;If not, then which is it?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004216</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004216Shyam Prasad Murarka</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 06:26:24 MDT</pubDate>
        </item>
        <item uniqueID="45-004215">
            <title>Wake-up Windows XP with Java - JNA / JNI</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004215</link>
            <description>The task of waking a Windows machine from hibernate or standby is pretty easy and well-defined* if you're coding in C++ or .Net, but not so easy (for me) with Java.&lt;br /&gt; &lt;br /&gt;Various sources tended to dissuade using JNI because, basically, it was a pain. So I tried JNA:&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;long aMinute = -600000000; &lt;br /&gt;int minutes = 1;&lt;br /&gt;long aDuration = aMinute * minutes;&lt;br /&gt; &lt;br /&gt;// Set FILETIME structure from Java long primitive&lt;br /&gt;Kernel32.FILETIME pDueTime = new Kernel32.FILETIME();&lt;br /&gt;pDueTime.dwHighDateTime = (int)(aDuration &amp;gt;&amp;gt; 32);&lt;br /&gt;pDueTime.dwLowDateTime = (int)(0xFFFFFFFF &amp; aDuration);&lt;br /&gt; &lt;br /&gt;// Create Waitable Timer&lt;br /&gt;Kernel32.HANDLE hTimer = kernel32.CreateWaitableTimer(n...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004215</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004215Dale Seng</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 08:22:18 MDT</pubDate>
        </item>
        <item uniqueID="45-004214">
            <title>JNI UnsatisfiedLinkError</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004214</link>
            <description>Hey,&lt;br /&gt;I am getting java.lang.UnsatisfiedLinkError when I am trying to access a function from my dll.I have ensured that the library loads, the function's name is not mangled, have set the PATH variable correctly, the library has no dependencies.&lt;br /&gt;Am I missing something here?&lt;br /&gt; &lt;br /&gt;I am using JNI in a servlet deployed on Tomcat 5.0.&lt;br /&gt; &lt;br /&gt;Thanks,</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004214</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004214K Aditi</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 06:38:18 MDT</pubDate>
        </item>
        <item uniqueID="45-004212">
            <title>java.io.IOException: Error instantiating class com.sun.comm.Win32Driver</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004212</link>
            <description>Hi all&lt;br /&gt;i have a program which is working the Windows&lt;br /&gt;i configured in SUSElinux 10.3 by giving comm.jar for linux&lt;br /&gt;and .so file and proprties file.&lt;br /&gt;but it is giving runtime error&lt;br /&gt;java.io.IOException: Error instantiating class com.sun.comm.Win32Driver&lt;br /&gt;com.sun.comm.Win32Driver</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004212</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004212Pavithra Papi</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 03:52:15 MDT</pubDate>
        </item>
        <item uniqueID="45-004211">
            <title>NoClassDefFoundError</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004211</link>
            <description>I am trying to invoke a third party API, which internally performs some native calls. I hit the following error and the JVM crash follows.&lt;br /&gt; &lt;br /&gt;I can access the "SomeClass" from my eclipse and even it is available in the java classpath. In general, is there any standard place from where the native code tries to load the jar files ? Any hints on how I can debug this ?&lt;br /&gt; &lt;br /&gt;java.lang.NoClassDefFoundError: xxx/xxx/xxx/xxx&lt;br /&gt;at xxx.xxx.xxx.xxx.xxx(Native Method)&lt;br /&gt;at xxx.xxx.xxx.xxx.xxx(SomeClass.java:55)&lt;br /&gt;#&lt;br /&gt;# An unexpected error has been detected by HotSpot Virtual Machine:&lt;br /&gt;#&lt;br /&gt;# Internal Error (53414645504F494E540E43505001E8), pid=2440, tid=3568&lt;br /&gt;#&lt;br /&gt;# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004211</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004211Srikanth Basavaraju</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 02:36:14 MDT</pubDate>
        </item>
        <item uniqueID="45-004210">
            <title>new to javamail</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004210</link>
            <description>Dear all,&lt;br /&gt;im new to java mail.. i need "Hello World java mail example " in simple tutorial. i like to run hello world example then go in advance details.&lt;br /&gt;any links to help me in that please.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004210</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004210hani Ibrahim</comments>
            <author/>
            <pubDate>Sat, 26 Apr 2008 02:38:08 MDT</pubDate>
        </item>
        <item uniqueID="45-004209">
            <title>What is a Java API development </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004209</link>
            <description>I got a module of Java API development. Please tell me what is value of this work in market.I was working on JSP, Servlet and now switching to core java is going very hard.Please help</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004209</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004209Sanjay Chougule</comments>
            <author/>
            <pubDate>Fri, 25 Apr 2008 04:40:05 MDT</pubDate>
        </item>
        <item uniqueID="45-004208">
            <title>immediate help - java print a pdf</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004208</link>
            <description>I need to print a pdf to a printer. I'm able to get the pdf to print, but it doesn't actually print the pdf, it just prints characters across numerous pages, when it should have printed Hello World!. &lt;br /&gt; &lt;br /&gt;Please contact me directly or reply to this post and we'll see if we can workout something out.&lt;br /&gt; &lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004208</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004208Brandon Dohman</comments>
            <author/>
            <pubDate>Fri, 25 Apr 2008 03:28:05 MDT</pubDate>
        </item>
        <item uniqueID="45-004207">
            <title>setting a message header for requesting a Read Receipt for mail</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004207</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I want to request a read receipt for the mail which I am sending through my application.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;I am curious to know which valus i should set in a request header to achieve this.You need to set a message header.&lt;br /&gt; &lt;br /&gt;Also, It will be really great help if somebody could point me to linkwhere I will get list of values we can set in message.setHeader(..)method &amp; their significance.&lt;br /&gt; &lt;br /&gt;Thanks in Advance,&lt;br /&gt;Shriniwas</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004207</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004207Shrinivas Mujumdar</comments>
            <author/>
            <pubDate>Thu, 24 Apr 2008 03:44:02 MDT</pubDate>
        </item>
        <item uniqueID="45-004206">
            <title>Java Advanced Imaging: Set up a RenderableOp Graph</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004206</link>
            <description>Hi everyone!&lt;br /&gt;I want to achieve the following:&lt;br /&gt; &lt;br /&gt;I need to cut out an arbitrarily rotated rectangular area of undefined size of an image, then scale it to a predefined size in pixels.&lt;br /&gt; &lt;br /&gt;Reading in this document from sun http://dlc.sun.com/pdf/806-5413-10/806-5413-10.pdf (http://dlc.sun.com/pdf/806-5413-10/806-5413-10.pdf) I figured, since I need to do this more than once, was to set up a tool chain, that does the following things:&lt;br /&gt; &lt;br /&gt;(1) rotate the input image.&lt;br /&gt;(2) crop the rectangular region out.&lt;br /&gt;(3) translate the rectangular region, so it's origin is at (0,0) again.&lt;br /&gt;(4) scale the rectangular region to the predefined square size.&lt;br /&gt; &lt;br /&gt;The idea was, that once this processing chain was s...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004206</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004206Phil Heuberger</comments>
            <author/>
            <pubDate>Thu, 24 Apr 2008 02:30:02 MDT</pubDate>
        </item>
        <item uniqueID="45-004205">
            <title>where to place JNI dll for web applications</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004205</link>
            <description>Hello,&lt;br /&gt;I had to use JNI in my web application.Iam loading the dll with LoadLibray("RemoteSystem") call.It was not able find the DLL. I tried with java.library.path,but no use. Where to put the DLL(native methods) for web applications....</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004205</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004205Pratap Chowdary</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 10:50:00 MDT</pubDate>
        </item>
        <item uniqueID="45-004203">
            <title>Rich Text Editor</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004203</link>
            <description>Hello All,&lt;br /&gt; &lt;br /&gt;My requirement is to build a rich text editor using JSP; I was wondering is there any open source api to achieve that.&lt;br /&gt; &lt;br /&gt;Has anyone come across similar situation?&lt;br /&gt; &lt;br /&gt;Any thoughts and Suggestions are highly appreciated.&lt;br /&gt; &lt;br /&gt;Thanks,</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004203</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004203Rajesh Rajaram</comments>
            <author/>
            <pubDate>Mon, 21 Apr 2008 15:44:20 MDT</pubDate>
        </item>
        <item uniqueID="45-004202">
            <title>JNI interacting with C++</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004202</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I need to inteact with C++ system which has some custom data types like date object. Is there any way to interact with this system using JNI.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vinutha.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004202</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004202Vinutha Gattu</comments>
            <author/>
            <pubDate>Mon, 21 Apr 2008 03:10:16 MDT</pubDate>
        </item>
        <item uniqueID="45-004201">
            <title>Print dynamic values into XL Cell?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004201</link>
            <description>Hello EE( Excel Experts),&lt;br /&gt; &lt;br /&gt; I had 1 to 50 numbers&lt;br /&gt; &lt;br /&gt;I want to display&lt;br /&gt; &lt;br /&gt;1 to 10 in the first XL row&lt;br /&gt;11 to 20 in the 2nd XL row&lt;br /&gt;...&lt;br /&gt;..&lt;br /&gt;41 to 50 in the 5 th XL row.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;How?&lt;br /&gt; &lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004201</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004201Edward Durai</comments>
            <author/>
            <pubDate>Mon, 21 Apr 2008 02:08:17 MDT</pubDate>
        </item>
        <item uniqueID="45-004200">
            <title>NoClassDefFoundError</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004200</link>
            <description>hi,&lt;br /&gt; I am new to java mail api.I am getting this exception while running the program java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport. &lt;br /&gt;i have setted the class path for activation.jar and mail.jar.here i am using the JBOSS 3.2.6 please help me out of this.&lt;br /&gt; &lt;br /&gt; i have did the same program as Sevlet that time it is running corrctly with out throwing any exception at all.&lt;br /&gt; &lt;br /&gt; please find the senerio and help me out of this.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks and Regards&lt;br /&gt;Naresh</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004200</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004200naresh govindaswmay</comments>
            <author/>
            <pubDate>Sun, 20 Apr 2008 23:18:16 MDT</pubDate>
        </item>
        <item uniqueID="45-004199">
            <title>Hyperlink from Subreport to Master Report</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004199</link>
            <description>Hi all,&lt;br /&gt; &lt;br /&gt;I am using JasperReports to generate reports in my application. In my application I have a requirement in which summary of the report is to be displayed on the first page of the report and on click of any row in the summary, we need to navigate to the details of that particulargroup.&lt;br /&gt; &lt;br /&gt;To display the summary I'm using subreport. I want to know how we'll create hyperlinks from subreports to master report&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks &amp; Regards,&lt;br /&gt;DNV Srikanth.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004199</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004199DNV Srikanth</comments>
            <author/>
            <pubDate>Sun, 20 Apr 2008 22:50:15 MDT</pubDate>
        </item>
        <item uniqueID="45-004198">
            <title>Monitoring</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004198</link>
            <description>I need to monitor&lt;br /&gt;JVM Memory Usage&lt;br /&gt;Server response time&lt;br /&gt;Metrics for all web applications&lt;br /&gt;Thread Pools or JDBC Connectivity pools&lt;br /&gt; &lt;br /&gt;The value of these parameters have to be saved in a flat file&lt;br /&gt;Which API's should I use to monitor the above ? &lt;br /&gt;Please help.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004198</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004198notnarayanshankar venkatraman</comments>
            <author/>
            <pubDate>Sat, 19 Apr 2008 12:06:24 MDT</pubDate>
        </item>
        <item uniqueID="45-004197">
            <title>Email Notification System Design</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004197</link>
            <description>Hello Friends,&lt;br /&gt; &lt;br /&gt;We are planning to design an e-mail notification system with following requirement considerations:&lt;br /&gt; &lt;br /&gt;1. Email notification will be event based e.g. Adddress Changs etc.&lt;br /&gt; &lt;br /&gt;2. Certain events will have higher priority against other events in such a case mails for higher priority events should be sent first and for low or medeium pririty events should be sent later.&lt;br /&gt; &lt;br /&gt;3. Bulk emails should be queued and then sent across to SMTP server. The load should be evenly balanced.&lt;br /&gt; &lt;br /&gt;4.There should be a logging mechanism to track the status of emails sent (delivered, failure, bounced).basically we should get a status of mail(s)sent logging to file/database will not be an issue once we get ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004197</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004197Shrinivas Mujumdar</comments>
            <author/>
            <pubDate>Sat, 19 Apr 2008 02:52:23 MDT</pubDate>
        </item>
        <item uniqueID="45-004194">
            <title>If JNIEnv is valid does a call do javaVM-GetEnv reload it?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004194</link>
            <description>I don't know of a way to check that the JNIEnv passed to a function is valid. I want to be able to call javaVM-&amp;gt;GetEnv(...) to make sure it's a valid env, but I don't want to be relaoding it if unecessary. So if it is valid, will the call to GetEnv just return or does it fully reload it?&lt;br /&gt; &lt;br /&gt;Is there a way to check if it is valid?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004194</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004194Dan Bizman</comments>
            <author/>
            <pubDate>Thu, 17 Apr 2008 16:20:19 MDT</pubDate>
        </item>
        <item uniqueID="45-004193">
            <title>DES verification not working outside Eclipse</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004193</link>
            <description>Ok this has me really confused. I have Eclipse Platform Version: 3.3.2 Build id: M20080221-1800 and I'm using this bit of code:&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;Signature dsa = Signature.getInstance("SHA/DSA");&lt;br /&gt;dsa.initVerify(publicKey);&lt;br /&gt;dsa.update(message.getBytes());&lt;br /&gt;System.out.println("MSG:"+message+","+signature);&lt;br /&gt;BASE64Decoder decoder=new BASE64Decoder();&lt;br /&gt;byte sigDec[] =decoder.decodeBuffer(signature);&lt;br /&gt;System.out.println("Signature lenght :"+sigDec.length);&lt;br /&gt;boolean result;&lt;br /&gt;try {&lt;br /&gt;result = dsa.verify(sigDec);&lt;br /&gt;System.out.println("DSA result=="+result);&lt;br /&gt;} catch (RuntimeException e) {&lt;br /&gt;// TODO Auto-generated catch block&lt;br /&gt;e.printStackTrace();&lt;br /&gt;result=false;&lt;br /&gt;}&lt;...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004193</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004193Gerardo Tasistro</comments>
            <author/>
            <pubDate>Thu, 17 Apr 2008 08:54:19 MDT</pubDate>
        </item>
        <item uniqueID="45-004192">
            <title>JAI and servlet problem</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004192</link>
            <description>hi&lt;br /&gt; &lt;br /&gt;i have tried to use JAI to create tif file using servlet&lt;br /&gt;but it run without error and does not create my tif file.&lt;br /&gt; &lt;br /&gt;some body taked to me about (thread safe) for JAI to check out.&lt;br /&gt;does any body know any information why this problem happend? &lt;br /&gt;and how to solve it?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004192</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004192hassan ali</comments>
            <author/>
            <pubDate>Thu, 17 Apr 2008 08:54:18 MDT</pubDate>
        </item>
        <item uniqueID="45-004191">
            <title>Proper order for MonitorEnter/Exit?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004191</link>
            <description>Looking at byte code generated for a synchronized block I see that the order seems to be (assuming I'm reading it right):&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;MonitorEnter&lt;br /&gt;try&lt;br /&gt; ...codeblock...&lt;br /&gt;catch&lt;br /&gt; MonitorExit&lt;br /&gt; throw Ex&lt;br /&gt;MonitorExit&lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;I had been doing it with the monitor enter/exit INSIDE the try block (and with a monitor exit inside the catch). Why is it better to put them outside a try...catch?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004191</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004191Dan Bizman</comments>
            <author/>
            <pubDate>Thu, 17 Apr 2008 03:51:41 MDT</pubDate>
        </item>
        <item uniqueID="45-004187">
            <title>Setting Priorities for Mail </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004187</link>
            <description>Hello Friends,&lt;br /&gt; I am working on one application where I need to use JavaMail API for sending mail. I want to send an e-mail on specific events. Actual requirement is for certain events I need to set the priority of mails to 'high' and for other events it should be 'Low' or 'Medeium'&lt;br /&gt; When I was going through JavaMail API documentation (javax.mail and javax.mail.internet)I could not see any facility to do so. I might have missed something out there.&lt;br /&gt; &lt;br /&gt; So, question is How to set priorities for mails while sending using JavaMail API.&lt;br /&gt; &lt;br /&gt;Any help in this regard will be really thankful.&lt;br /&gt; &lt;br /&gt;Thanks in Advance,&lt;br /&gt;Shriniwas</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004187</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004187Shrinivas Mujumdar</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 23:59:03 MDT</pubDate>
        </item>
        <item uniqueID="45-004191">
            <title>Proper order for MonitorEnter/Exit?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004191</link>
            <description>Looking at byte code generated for a synchronized block I see that the order seems to be (assuming I'm reading it right):&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;MonitorEnter&lt;br /&gt;try&lt;br /&gt; ...codeblock...&lt;br /&gt;catch&lt;br /&gt; MonitorExit&lt;br /&gt; throw Ex&lt;br /&gt;MonitorExit&lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;I had been doing it with the monitor enter/exit INSIDE the try block (and with a monitor exit inside the catch). Why is it better to put them outside a try...catch?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004191</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004191Dan Bizman</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 23:57:03 MDT</pubDate>
        </item>
        <item uniqueID="45-004190">
            <title>Question on MonitorEnter</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190</link>
            <description>I know that when you do "synchronized( obj )" in Java, it will sit and wait until it gets the lock on the object and THEN do the code inside the synch'd block (right?). Does MonitorEnter do this as well, or does it return instantly no matter what?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190Dan Bizman</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 21:11:02 MDT</pubDate>
        </item>
        <item uniqueID="45-004190">
            <title>Question on MonitorEnter</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190</link>
            <description>I know that when you do "synchronized( obj )" in Java, it will sit and wait until it gets the lock on the object and THEN do the code inside the synch'd block (right?). Does MonitorEnter do this as well, or does it return instantly no matter what?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190Dan Bizman</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 14:59:01 MDT</pubDate>
        </item>
        <item uniqueID="45-004190">
            <title>Question on MonitorEnter</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190</link>
            <description>I know that when you do "synchronized( obj )" in Java, it will sit and wait until it gets the lock on the object and THEN do the code inside the synch'd block (right?). Does MonitorEnter do this as well, or does it return instantly no matter what?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004190Dan Bizman</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 14:03:02 MDT</pubDate>
        </item>
        <item uniqueID="45-004189">
            <title>Modifying Word Document</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004189</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I have an assignment in which I am required to pick a word document, and modify it with some specific values retrieved from the Database.&lt;br /&gt; &lt;br /&gt;If I have "A.doc" and I have some values from the database, then I need to put those values into the document at specific locations.&lt;br /&gt; &lt;br /&gt;Please tell me how I can achieve this.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004189</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004189kapil munjal</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 09:59:01 MDT</pubDate>
        </item>
        <item uniqueID="45-004189">
            <title>Modifying Word Document</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004189</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I have an assignment in which I am required to pick a word document, and modify it with some specific values retrieved from the Database.&lt;br /&gt; &lt;br /&gt;If I have "A.doc" and I have some values from the database, then I need to put those values into the document at specific locations.&lt;br /&gt; &lt;br /&gt;Please tell me how I can achieve this.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004189</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004189kapil munjal</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 09:51:01 MDT</pubDate>
        </item>
        <item uniqueID="45-004188">
            <title>Do I need to delete JNIEnv/JavaVM pointers? DeleteGlobalRef on JavaVM?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004188</link>
            <description>In JNI do I need to either delete the pointers or call DeleteGlobalRef for them?&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;JavaVM* theVM;&lt;br /&gt; &lt;br /&gt;jint JNI_Onload(JavaVM *vm, void *reserved) &lt;br /&gt;{ &lt;br /&gt; theVM = vm;&lt;br /&gt; return JNI_VERSION_1_4;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;//When done in native function, should I do either:&lt;br /&gt; &lt;br /&gt; //delete theVM;&lt;br /&gt; //delete env;&lt;br /&gt; &lt;br /&gt;//or this:&lt;br /&gt; //env-&amp;gt;DeleteGlobalRef( theVM );&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004188</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004188Dan Bizman</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 09:37:01 MDT</pubDate>
        </item>
        <item uniqueID="45-004187">
            <title>Setting Priorities for Mail </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004187</link>
            <description>Hello Friends,&lt;br /&gt; I am working on one application where I need to use JavaMail API for sending mail. I want to send an e-mail on specific events. Actual requirement is for certain events I need to set the priority of mails to 'high' and for other events it should be 'Low' or 'Medeium'&lt;br /&gt; When I was going through JavaMail API documentation (javax.mail and javax.mail.internet)I could not see any facility to do so. I might have missed something out there.&lt;br /&gt; &lt;br /&gt; So, question is How to set priorities for mails while sending using JavaMail API.&lt;br /&gt; &lt;br /&gt;Any help in this regard will be really thankful.&lt;br /&gt; &lt;br /&gt;Thanks in Advance,&lt;br /&gt;Shriniwas</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004187</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004187Shrinivas Mujumdar</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 09:01:01 MDT</pubDate>
        </item>
        <item uniqueID="45-004183">
            <title>installer for standalone application</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004183</link>
            <description>I have developed a standalone application using swing technology and want to create installer for that,can anybody help me?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004183</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004183Anil Kinge</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 06:23:01 MDT</pubDate>
        </item>
        <item uniqueID="45-004181">
            <title>Apache HttpClient posing trouble</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004181</link>
            <description>HI java champs,&lt;br /&gt; &lt;br /&gt;I am trying to submit http POST request to a different server using Apache HttpClient 's PostMethod which giving following problem as soon as I execute. &lt;br /&gt;"HTTP/1.1 302 Moved Temporarily"&lt;br /&gt;Status Code: "302"&lt;br /&gt; &lt;br /&gt;Could locate apache's example on conventional link. and my code is in accordance with what is present on most of the sites (that comes after googling).&lt;br /&gt; &lt;br /&gt;here is the code i AM using:-&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;HttpMethod method = null;&lt;br /&gt;HttpClient httpClient = new HttpClient();&lt;br /&gt; &lt;br /&gt;// Create a method instance.&lt;br /&gt;method = isPostRequest ? new PostMethod(urlToRequest) : new GetMethod(urlToRequest);&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;if(isPostRequest){&lt;br /&gt;PostMethod post = (PostMethod)method...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004181</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004181Jaideep Pujara</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 04:39:00 MDT</pubDate>
        </item>
        <item uniqueID="45-004186">
            <title>Symbolic Lookups</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004186</link>
            <description>I understand that Obtaining field and method IDs in JNI requires symbolic lookups based on the name and descriptor of the field or method. Symbolic lookups are relatively expensive.&lt;br /&gt; &lt;br /&gt;1. What do you mean by Symbolic Lookups&lt;br /&gt;2. Why is it expensive?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004186</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=45&amp;t=004186Anu Tilwalli</comments>
            <author/>
            <pubDate>Tue, 15 Apr 2008 23:08:59 MDT</pubDate>
        </item> 
    </channel>
</rss>
