Ambitious projects can drive you nuts
OK, I'll admit it. Sometimes, I pick forum posts for the front page because what the developer's trying to do sounds impossible. Why? Because either someone will come up with some clever approach, and impress us all, or the issue really is impossible, which might point to a need that new or improved Java API's should address.
For example, consider
Transfering mp3 files from PC to smartphone...NEED HELP from today's Forums:
Fellow developer friends, i'm trying to develop a program in Java that allows someone to transfer mp3 files from his PC to his smartphone. My question is; - What Java technology can I use to do this? - Has such a thing been done before already, and if so, where can I go to see how it was done? - Is using JavaFX the answer and are there any tutorials pertaining exclusively to file transfer programs?
My first thought was "oh, dude, you are so hosed, and you wouldn't be if there were quality JSR-80 implementations for all platforms, so you could access the device over USB"
But then I got to thinking: well, what about other connection technologies? Maybe there's a Bluetooth story? After all, we ran a feature article on using Bluetooth with Java a few years ago, and checking it now, it lists a number of JSR-82 implementations for the various major desktop platforms. So maybe that's an option. Or maybe there's yet another valid approach, like with MMS messaging.
The community is creative; a clever solution may yet be out there. So don't pull out your hair just yet.
Furhter down in the forums,
rasto1968 contributes to Linux L&F beautification in
Re: swingx on Linux isn't very pretty:
"Thanks Jan. I've had a quick go at getting things looking a little better this morning, I will raise an issue and attach my patches. Basically I have added a org.jdesktop.swingx.plaf.linux package and its associated look and feel setup class. I have then updated JXTaskPaneAddon and JXTitledPaneAddon to add defaults for Linux - all these do is make calls to the Metal add defaults so on Linux these components end up using the Metal Ocean look and feel which is much nicer than the Windows Classic look. I have had a quick look at the colours available from the look and feel defaults, but I can't see any that are particularly appropriate for the gradients used by these two components. I guess to do it properly it will really need 2 packages (linux gtk and linux kde), but until someone has the time to figure out how and where to get the relevant colours from this hack produces more pleasant visuals."
byhisdeedsis looking to improve a collection implementation in
Best performing Least Used List.
"I have a java application that requires me to sample hundereds of image files. To speed things up, I coded a Least Used List of a fixed size, of BufferedImages, that removed the least used entry when it required space for a new entry. I did this by using a priority queue to order a list of usage, as well as a hashmap to access the entries quickly. It works ok, but I'm looking to optimise it and was wondering if anybody could tell me whether a Least Recently Used alogoritim would serve my purpose just as well. This would probably be faster, as I just keep the most recently accessed entry at the head of the list, and remove the tail when I need space."
Our latest JavaOne Community Corner Podcast is
j1-2k7-mtW04: Enterprise Data Mashup Service (EDMS) by Srinivasan Rengarajan.
"The Enterprise Data Mashup Service Engine project aims at building a Open-Source JBI compliant Service Engine which features * Ability to create relational mapping for spreadsheets, flatfile, HTML table, xml sources (webrowset), XQuery Rowset, *Using Netbeans Database Explorer to browse source tables, * Drag-n-Drop these tables into the Mashup Editor to define the join conditions, * Ability to view the resultset using the Mashup editor * View Cache Management, * Transforming the response to various formats by composing the output with an XSLT Service Engine, * etc., and thus provides the mashed up views of enterprise data from heterogenous sources. These pre-canned, materialized views served by the EDM SE can be used by clients to build highly responsive and interactive Ajax powered web2.0 style enterprise applications using existing client-side frameworks."
In Java Today,
the latest edition of the Java Tools Community Newsletter, issue 134, rounds up tool-related news from around the web, lists new projects in the community (NBString and ON), and offers a Tool Tip about web site optimization with YSlow.
The java.net Roller Support Project provides themes, plugins and other add-ons for the Apache Roller blog server. Available resources include editor add-ins, themes, plug-ins (like JSPWiki plugin, Textile plugin, etc.), and JARs needed to run and/or compile Roller from source. Roller fans have much to look forward to, given the recent announcement of Roller 4.0 RC1.