Description:
Programming in the Java language.
|
|
|
J2ME - I can't connect to server correctly
|
| |
Hi! When I try to connect to my server from midlet via GPRS, I get only this message on server console: POST / HTTP/1.1 But if, I try to connect from an emulator I get all I want to: POST / HTTP/1.1 Content-Type: text/xml; charset=utf-8 User-Agent: Profile/MIDP-1.0, Configuration/CLDC-1.0 Content-Language: en-US... more »
|
|
Adding arrays to arrays...
|
| |
I know SOME datatype must have it. Heck, I could even make one. Yet ArrayList does not seem to support arraylist.add(elem[]). Anyway, I'm basically trying to compile a list of files within a directory. Well, each directory has subdirectories and so on, so I want something of the form: private LovableArray<file> la = new LovableArray<file>();... more »
|
|
JSH - run away!
|
| |
It's that simple. The proof I stepped through for him to go along with someone calling me a crackpot? Maybe all Java programmers are crazy? Eh? You too? Yeah. You're a true believer, that's what. There are over 6.6 billion people on this planet and I may be the solo genius and share nothing. From the herd.... more »
|
|
Which approach to parse large XML without schema
|
| |
HI group, I have a large XML file which is generated from a aerospace testing equipment. Unfortunately there is no schema available and I need to map this XML to a database. This database will further be used by a web interface to search the historical test details. Can anybody suggest appropriate parsing and mapping mechanisms which can be used.... more »
|
|
junit api docs
|
| |
hi i downloaded the junit4.5 and was going thru the api docs.I couldn't find the api doc pages for classes in junit.framework (like TestCase etc).These classes are present in the jar file though.I am wondering how i could find the method signatures for those classes (like assertEquals(..,..) etc. Do i have to check the source code?... more »
|
|
The mac for Java programmers
|
| |
I have composed a page with a summary of the MacIntosh which I hope will help Java programmers write code and instructions for the Mac. I don't have a Mac myself, so I would appreciate it if anyone with a Mac could check that I got it right. Additional lore to include, and suggested links welcome. see [link]... more »
|
|
PriorityQueue: new method useful?
|
| |
I've been playing with PriorityQueues lately, in a way where I often do a "poll()" and an "offer(e)" immediately subsequently. I noticed (well, it wasn't exactly rocket science ;-), that both actions could be done together with the same (or statistically even less) effort, than each single operation.... more »
|
|
Using images in JAR archives
|
| |
I've recently tried to export my current project as a JAR file. However, whenever I now try to start it, I am getting a NullpointerException from where the pictures are supposed to be. Below's some code showing the problem. Iam using Eclipse for the export. I already tried refreshing and using several versions of... more »
|
|
|