I learned this the hard way and wanted to make sure other people could benefit.
I wanted to describe an interesting problem I recently faced that involved the most excellent JAX-RS specification and its Jersey implementation. The quick overview is that we wanted the output of our JAX-RS resource classes to be client-agnostic, but we also wanted the ability to insert a decorator of sorts in between the objects we were returning and the normal JAX-RS serialization/writ
This one tripped me up, and I thought I'd post it here. I have a case where I need to pour text into a JTextField, but have that JTextField look like a JLabel. So as I type in one field, I need this "gray" second field to update, live, before the user's eyes. I also need the ability for the user to cut-and-paste values out of it.
In Microsoft Outlook, along with probably dozens of other desktop applications, pressing ESC just about anywhere will cause the current window you're in to be cancelled.
In the prior entry, we learned that Java ships with several tools to standardize the conversion between Strings and Objects. We covered the text conversion methods of java.beans.PropertyEditor.
See if this little scenario sounds familiar.
Child number two has kept me away from the blogosphere. As I write this, señor Nelson Jr. is busily learning how to access and destroy objects. Next up: garbage collection.
Long, long, long time no post. A job change and a two-year-old will do that to
On today's menu: how to make a JRootPane subclass that can pop
itself in and out of JInternalFrames and JFrames. Let's dive right in.
Here's a fun hack.
I (like everyone else in the world) have a collection of utilities I take
with me from job to job. It's served me well for several years now. These
utilities are simple, domain-independent things: classes to copy files, find out
what jar file a class is loading from, that sort of thing.
Hello, first of all. It's an honor to be part of the java.net weblogging community.
A discussion concerning component
reuse brought me back to my philosophy major days in college. Who knew
British empiricism could help you with object design?