How to use the Consumer JRE's translucent and shaped windows
A few weeks ago, I blogged in this space about translucent and shaped windows, following on Kirill Grouchnikov's initial blog about the feature in JDK 6 Update N (or 10, or whatever it's called now). One thing that's worth noting is that while we keep using the term "translucent and shaped" windows, they're really an application of the same feature: the ability to set per-pixel translucency in the still-rectangular window bounds. Given a shape, set all pixels outside that shape to full transparency to achieve a shaped window. Or, set all the pixels to a translucency between 0.0 and 1.0 to get a translucent, see-through effect, as seen the increasingly-popular "HUD windows". Or use both approaches for a shaped, translucent windows.
Kirill dives in deeper in today's Feature Article,
It has been long awaited, and now it's finally here. Even though the APIs for creating translucent and shaped windows are not in the officially supported packages, they can still be used for creating visually rich cross-platform UIs. The Translucent-Shaped Windows (Extreme GUI Makeover) entry from Romain's blog showcases the JNA project to create a visually compelling use of an animated translucent shaped window. Now you can do the same with the core JDK.
Read the article for some practical and interesting uses of the technique, including translucent tool tips that can now go beyond the borders of their host windows, and a real-time reflection of a playing QuickTime that appears outside of the window's bounds.
In Java Today,
the SIP Communicator project has been accepted as a mentoring organization for the 2008 edition of Google Summer of Code. If you're a student and you want to write open source this summer (and get a stipend to do so) pick up one of the SIP Communicator summer of code projects. The deadline for joining is March 31.
Sun Microsystems, Inc., is sponsoring the OpenJDK Community Innovators' Challenge, a contest with up to $175,000 in awards, intended to encourage and reward developers working together in solving key problems, initiating new innovative projects that promote new uses for the code, developing curricula and training, and porting the OpenJDK code base to new platforms. Finalists, announced March 17, are Closures for Java (Neal Gafter), Implement XRender pipeline for Java2D (Clemens Eisserer), Provide date and time library from JSR-310 (Stephen Colebourne and Michael Nascimento Santos), Portable GUI backends (Roman Kennke and Mario Torre), Virtual Machine Interface (Andrew John Hughes), Free Software synthesizer implemention for the OpenJDK project (Karl Helgason), and OpenJDK on Windows (Ted Neward). The finalists have until 4 August 2008 to implement their proposals, with all work done using transparent development methods and under the auspices of the OpenJDK Community.
So what's the new Data Reaper project about? Its owners explain, "we were working on the development project and to get data from one of our client's website with fine grained format to display on our application. The other team does not want to provide us the grained format to serve same information. We searched few websites (java.net, sourceforge.net, etc) for similar project, parser, or code to re-use on our project and unfortunately, we did not find any parser or code. Therefore, we planned to start code under public license and others can use our code and update with new enhancements."
In today's Weblogs, James Gosling is delighted that
NetBeans 6.1 Beta is out!
"NetBeans 6.1 [Beta] is out, along with a contest. There's a lot to like about it, but my personal favorite is the MySQL support. It couldn't have come at a better time: just a couple of days ago I started a big-ish project using MySQL, and the new NB features have really helped."
RobertoÂ Chinnici blogs on
Extensibility and modularity, offering "a follow-up to my blog entry on profiles in Java EE 6, focusing on the definition of extensibility."
LudovicÂ Champenois blogs about the
Eclipse Foundation and GlassFish community: "What's cooking in Eclipse, JPA, EclipseLink, GlassFish, Sun Microsystems, Java EE 6, and Ajax jMaki..."
In today's Forums,
jch_zxc asks about two-byte character support in ME in
How can display chinese in midp with qte??
"In i386,phoneME_feature don't display chinese beacause midp is build on FB. Now,in my arm embedded board, I have build midp with qte.When write "QString::fromUtf8("XXX")",that "XXX" is some chinese text,and the source file is encoded with utf8,then cross build,this QTE application can show chinese text with "-font unifont". So,I think QTE is support chinese text. In arm, midp is based on QTE. But my midlet don't show chinese text, and each chinese char is a empty box. what can I do?"
pakarjuuwants to move
J2ME Midlet to secondary screen.
"I have planned to transfer my J2ME midlet-application (running currently on main display) to work in my mobile phone's secondary screen. I have flip phone (Nokia N76) and I would like to make my application to work in it's secondary display (cover screen). Does anyone know if this is possible to do? If yes, then what need to be changed in my code?"
Finally, Hinkmond Wong addresses SVG on the device in
Re: SVG (JSR 226) on phoneme CDC.
"Sorry, but there is no open source Linux/ARM implementation of JSR 226 that I know about. You will have to contact the JSR 226 spec. lead, Suresh Chitturi at Nokia Corp. on when or if they plan to open source a Linux/ARM implementation of JSR 226 from Nokia, since they control that JSR. If on the other hand you wish to develop SVG code, you can always use the Sun Java Wireless Toolkit for CLDC, or the NetBeans IDE. [...] Once you develop your JSR 226 MIDlet, you can then download and run it on a real device, such as a Nokia N95. [...] So, technically, you really don't need an open source Linux/ARM implementation of JSR 226 if you just want to develop and run JSR 226 MIDlets on an existing JSR 226-enabled cell phone."
Current and upcoming Java
- MarchÂ 20 - Feelin' Groovy: An Evening of Reflexive Metaprogramming - Memphis/Mid-South JUG Â
- MarchÂ 24-28 - J2EE Training Philippines
- MarchÂ 26-28 - TheServerSide Java Symposium
- AprilÂ 4-6 - New England Software Symposium 2008: Spring Edition
- AprilÂ 4-6 - Greater Nebraska Software Symposium 2008
- AprilÂ 8-11 - JAX India 2008
- AprilÂ 8-11 - Struts Training Philippines
- AprilÂ 11-13 - Bay Area Software Symposium 2008
- AprilÂ 18-20 - Great Lakes Software Symposium 2008: Spring Edition
- AprilÂ 18-20 - Pacific Northwest Software Symposium 2008: Spring Edition
- AprilÂ 25-27 - Northern Virginia Software Symposium 2008: Spring Edition
- MayÂ 2-4 - Rocky Mountain Software Symposium 2008: Spring Edition
- MayÂ 5-9 - Java Training Philippines
- MayÂ 12-15 - Java Power Tools Bootcamp
- MayÂ 19-23 - Daring Java Conference: Java to Celebrate Its 13th Birthday at Bangalore
- MayÂ 19-23 - Great Indian Developer Summit 2008 Features Co-located Conferences on Java, Rich Web and .NET
- MayÂ 19-23 - J2EE Training Philippines
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
Today RSS feed. Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.
How to use the Consumer JRE's translucent and shaped windows