How to reset Graphics2D HI I use the following code to print some barcode which is rotated 90 degrees down the left side of a page which prints in landscape: g2d.translate(haX + intBarCodeHeight, 0); g2d.rotate(90.0 * Math.PI / 180.0); // convert radians, which are about 57 degrees, to degrees ... 3 Apr 2010 13:42
Transactional cache with web application (JBoss Cache?) Hi everyone, I'd like to use a transactional cache on a data source which is not a database. I'll probably have to write some sort of adapter to retrieve records. In a web application, I'd like to use the transaction capability of the caching system. When a page is requested, I'd like for all beans to be ... 23 Mar 2010 11:16
Java in Java On Fri, 08 May 2009 09:13:40 -0700, Mark Space <markspace(a)sbc.global.net> wrote, quoted or indirectly quoted someone who said : Dirk Bruere at NeoPax wrote: Is it possible to download a Java app (applet etc?) and run it inside a desktop Java app? If you know the name at compile time, you just invo... 23 Mar 2010 10:05
Using enums to avoid using switch/if On Mon, 08 Jun 2009 23:55:08 -0400, Lew <noone(a)lewscanon.com> wrote, quoted or indirectly quoted someone who said : I need a mechanism to map string to enum. see the built-in valueOf function. I often override it to make it case insensitive and allow aliases. See http://mindprod.com/jgloss/enum.html -- ... 25 Mar 2010 07:57
InetAddress.isReachable InetAddress.isReachable always returns false. I am puzzled why. My router is set to pass UDP port 7 through. I can ping google.ca. -- Roedy Green Canadian Mind Products http://mindprod.com Responsible Development is the style of development I aspire to now. It can be summarized by answering the question, �H... 27 Mar 2010 16:31
Niue - a tiny, embeddable stack language and language toolkit for Java http://niue.vmathew.in/ Niue is an expressive, lightweight, embeddable scripting language for Java applications. It has a simple and consistent syntax based on the Reverse Polish notation. Niue is an extensible language with powerful meta-programming facilities. ... 23 Mar 2010 07:49
need suggestion for HTML Renderer for java Hi, I already tried several alternatives. - JDIC : doesn't work - webrenderer : too expensive - lobo : not compatible enough I heared of something like "JWebPane" which should be part of java se 7. Does anyone know about this ? Or any other suggestions ? Best Regards Thorsten ... 23 Mar 2010 10:05
JSP - Servlet related question - Request Help Could some Java guru please help ? I have a JSP, which calls a Servlet, which in turn does some database queries, and then generates a Web page, in its 'doGet' method, and displays the retreived data. The retreived data is displayed as a set of checkboxes with suitable labels and all. By seelcting appropriate chec... 23 Mar 2010 05:37
Issue with request.getParameter function in Java Servlet Hi All, I am facing this weird problem in my servlet. If I print the request.getQueryString() value, I get "action=getall" but when I do request.getParameter("action"), it prints NULL value. Any pointers to the reason which could be causing this issue will be great. Thanks Param ... 24 Mar 2010 13:28
JDK version popularity Where can I find statistics on JDK version usage in the Java development industry? I am looking for percentage usage of 1.4, 1.5 and 1.6 by professional development firms. Rough estimates would also be appreciated. Has your company moved to 1.6, or are you stuck on an older version of the platform? Thanks, Na... 25 Mar 2010 23:10 |