| Thread | Last Post | Replies |
|
| image format conversion - increase in file size | 07 Apr 2007 14:02 GMT | 4 |
I have an application which reads a JPG image and converts it to PNG format, using the code shown below. This is the simplest illustration I can come up with (i.e. it's not production code!). The problem I have is that the initial JPG image is about 1 meg, the PNG
|
| Collision map | 07 Apr 2007 13:42 GMT | 2 |
For the game I am writing, I need to handle a collision map. This collision map is a simple array of bits representing an image, a bit set indicating that there is a collision for this pixel. I am wondering on how to implement this... I need to be able to scroll this array to ...
|
| variable type char used in boolean arg | 07 Apr 2007 08:00 GMT | 3 |
I'm taking my second Java class right now and I'm trying to use an if/ else argument based on a user input. The values in question all could be integers but if I set them up as int, the program crashes when anything other than an integer is entered. So I tried using char.
|
| How to detect End-of-File? | 07 Apr 2007 05:51 GMT | 20 |
I'm quite new to java and I have huge problems doing something as simple as reading a file (up to end-of-file). Can anybody please tell me what I'm doing wrong/is missing? I can't figure it out. Thanks in advance. package end_of_file;
|
| how to reach end of file? | 07 Apr 2007 04:37 GMT | 8 |
I'm reading a file which is sbout 3.5 GB in size. And extracting some fields from the file. For smaller file the program works fine but for this file , it is not reaching the end of file and exits.
|
| Java mail problem | 07 Apr 2007 04:27 GMT | 3 |
Im trying to connect to my smtp host using Java Mail. But i'm getting error as : javax.mail.SendFailedException: Sending failed; nested exception is:
|
| Fastest way to pass messages? | 07 Apr 2007 01:50 GMT | 7 |
Our app needs to have a central computer send a message to several other computers, and then gather a response from each. This has got to happen hundreds of times per second (not necessarily synchronously). Each message is just an array of bytes, usually less than 100 bytes on ...
|
| Updating GUI Components From A Thread | 07 Apr 2007 01:46 GMT | 5 |
I've been reading up on how to update a GUI component from a Thread and, as far as I can tell, I need to have my Thread update the GUI component (JLabel in this case) by using a SwingUtilities.invokeLater(Runnable) call inside the worker thread at
|
| JMF - Webcam settings - Resolution, Gain, Brightness, Contrast | 06 Apr 2007 21:55 GMT | 6 |
I am fairly new to Java, and am working on a project in which I need to grab a still-frame from a webcam for further processing. The code below works just fine for getting the shot taken and saved. However, I want to change from camera setting "0" to camera setting
|
| Eclipse Plugin Tutorial | 06 Apr 2007 21:12 GMT | 1 |
Im looking for a good Eclipse plugin development tutorial. Specifically I need to develop a plugin for editing C/C++ so Im thinking it would be derived from the CDT plugin (CDT plus a few other bits of functionality). Anyone know of a suitable resource?
|
| Relative time (time since) | 06 Apr 2007 20:19 GMT | 1 |
Any suggestion on the best way to track relative time (mm:ss since something happened)? I have the Date object of the begining time and the current Date object. However, I don't see anyway to get a diff of the Date objects (UNIX had a timediff method). I want to display as
|
| hibernate seminars or trainings | 06 Apr 2007 19:32 GMT | 2 |
Can anyone suggest a good Hibernate seminar or training. (basic and advanced) Thanks, Alan
|
| JDSL commercial license? | 06 Apr 2007 19:16 GMT | 2 |
JDSL is a project that was done a few years ago at Brown University. I'm interested in using this library in a commercial product, but the license prohibits it. The email associated with the project has not responded so I suspect the team has disbanded.
|
| the difference between sizes of component??? | 06 Apr 2007 17:09 GMT | 1 |
MaximumSize?????? MinimumSize??????? PreferredSize?????
|
| How to insert CDATA in an XmlBean tag! | 06 Apr 2007 16:51 GMT | 3 |
I have a problem using XmlBean with special characters. I don't want to convert special characters, but leave it using CDATAelement. If I try in my code to use : //the object Description is an object of my xsd sxhema given by
|