Forking Inputstream: Am I missing something Dear all, This has been puzzling me all morning: There is reasonable elegant way (see example below) to log InputStreams and OutputStreams, without consuming the streams. However, I cannot find any reference to it or a good implementation of it anywhere. I tested it and it seems to work, but I have the nagging idea ... 23 Mar 2010 13:37
Applet UpCall from JS Event - Which Thread? Hi, With many direct references to the second lovely colour diagram on this page: - http://java.sun.com/javase/6/docs/technotes/guides/jweb/applet/applet_execution.html I completely understand the hour-glass pause on the single-JS-thread preservation architecture when the red arrow for the additional "applet-... 17 Mar 2010 07:58
Parse and find charater in a stream containing \x ... I have a textfiles that i read from, one trigger is for a dataline that lookas like this dmc \x45\x23\x45\x23\x45\x23\x45\x23\x45\x23\x45\x23\x45\x23\x45\x23 i try to trigger this by if(sDMC.startsWith("DMC \\x")) { bDMC = true; } But i don't get a hit, i know there is som fuzzy about the line \x45\x23 ..... 17 Mar 2010 02:30
JLabel.setText In my code (will provide an example if necessary), I have a JLabel that doesn't change it's content after label.setText("new-content"). The text does change after I resize the parent JInternalFrame. I have never encountered this behavior before and I am wondering what this could be caused by... Thank you in ... 18 Mar 2010 04:49
Cross Platform/Browser way to send PNG file to Webserver I want to sent a 24-bit PNG file to a web service that I will be writing. In the ideal case the user will go to my website and click on a button that will browse their local hard-drive for a PNG file. This file is then verified to be 24-bit on the client side. If it is 24-bit it is then sent to the web-servic... 18 Mar 2010 15:28
Socket Buffered*putStream Threads and Full-duplex communication Hi, I'm sure I asked a similar question here before but couldn't find it - sorry. Can someone please confirm that for a given Socket with a BufferedInputStream "in" and a BufferedOutputStream "out", I can have one thread T1 executing a series of out.write()s followed by an out.flush() without explicit locking... 17 Mar 2010 19:57
JSF generic/dynamic form ? I want to generate form based on data from datatable ? Does anybody have andy idea how to do that ? I mean that some kind of metadata is saved in db, so from that design is generated for speceific site ? __________ Information from ESET NOD32 Antivirus, version of virus signature database 4948 (20100316) _... 16 Mar 2010 09:06
AST to XML parser Hi, Can anyone tell me is there java API or any java classes for parsing Abstract Syntax Tree to XML. Thank you ... 16 Mar 2010 07:55
Course to brush up Java skills? From 1996 to 2007 I programmed almost exclusively in Java; I know the basic language very well (although I may be a little rusty in places). But I don't know things that have happened since Java 5 at all well, and I'm not well up on Java generics. The reason for this is that my employers increasingly see the... 18 Mar 2010 00:29
Urgent Opening for Senior .Net Engineer position with our direct client in Milpitas, CA Hi, We have an urgent opening for Senior C# .NET Developer with our client in Milpitas, CA. This is a contract for 6months with possibility of extension . If you are interested please send us your latest resume with your current location and hourly rate. We are open to working with vendors on C2C. We prefer loca... 15 Mar 2010 20:41 |