Conversion from Unicode to character When I read files with a RandomAccessFile, I get them in Unicode format. I have been trying, but can't really use that with the rest of my syntax, like for example searching for character patterns et.c. . How can I convert it to characters in the English language? Regards, H�kan Lane -- Newsoffi... 8 Apr 2010 20:48
MIDI I need some advice of where to start... I have a VST framework that needs to be pointed at a MIDI source, and I want to feed it MIDI commands from a Java prog on the same machine. -- Dirk http://www.transcendence.me.uk/ - Transcendence UK http://www.blogtalkradio.com/onetribe - Occult Talk Show ... 12 Apr 2010 12:31
Security Policy to limit access to Printer or third party libraries I'm looking for a way to provide or limit access to certain libraries within Java. For example, how could I prevent printing through policy control so that people accessing certain applets could not print. Or turn off all access but give only rights to use certain third party libraries that allow access to a sca... 8 Apr 2010 16:17
How to separate channels from BufferedImage? Hi! I try to make simple codec for bitmaps. During programming a find a problem. How to separate channels from BufferedImage. ... 8 Apr 2010 15:09
ordinal() returns inconsistent values? Hello, I have recently been told that the ordinal() method in a Java enum will not necessarily return the same value in different invocations of the JVM. Has anyone else found this? BTW, the semantics of the enum will stay the same, an enumerated value that was once greater than another will continue to be so... 13 Apr 2010 20:41
JNDI searches We run our JEE web apps in BEA (now Oracle) Weblogic. We've from time to time explored alternatives. Generally moving a WAR to another platform works fine, with one exception.... We have a JNDI data source defined in the container, say "myData". To use it, we make a call like: InitialContext ic = new Ini... 23 Apr 2010 17:28
get CPU info, RAM info How using java to get the size of RAM, CPU information? ... 20 Apr 2010 15:45
Fun with casts Consider the following code, which does not compile. What do you think is wrong with it? public class Stuff { int i = (int)12; int j = (int)+12; int k = (int)(+12); Integer ii = (Integer)12; Integer ij = (Integer)+12; Integer ik = (Integer)(+12); } There is one illegal line: ... 7 Apr 2010 19:09
Still don't get LayoutManagers Hi, Here's what I don't get fundamentally about the Layout managers and the available documentation doesn't explain. The documentation seems to suggest that the layout process is bottoms up: the children are laid out first, then the parents. I think that makes sense for the "pack" command, but not for the w... 6 Apr 2010 18:42
store variables in a jsp page scope with the spring framework I want to store some variables (e.g. number of rows per table) at page scope in Spring framework so that each page has its own group of variables. What is the proper way to do that with the spring 2.5.x framework? This has compile errors. What is the proper way to initialize pageContext? import javax.servlet.js... 6 Apr 2010 19:50 |