Skip to main content

Xuan Yun

Xuan Yun is a Senior Technologist who takes part in many products' architecture in EaSynth. He loves Java Swing and he is a member of the EaSynth Look And Feel development team, and is also the leader of EaSynth Freeware Community. Now he is focusing on the solution to ease the delivery of Java Desktop Application.

 

xuanyun's blog

Implement Shadow for JPopupMenu in Synth Look And Feel

Posted by xuanyun on March 11, 2009 at 3:50 AM EDT

In EaSynth look and feel, you can see the shadow effect of JPopupMenu:

jpopupmenu_shadow.png

Customize Renderer of JComboBox in Synth Look And Feel

Posted by xuanyun on February 19, 2009 at 3:53 AM EST

Customizing the JComboBox style in Synth look and feel is a little complex, I can write a long article for it, but I don't want to be too tired, so please let me share my experience piece by piece. Today let's see how to customize the cell renderer for drop-down list in JComboBox.

Style Binding in Synth Look And Feel

Posted by xuanyun on February 4, 2009 at 11:43 PM EST

The style binding mechanism is another great feature of Synth look and feel.

Pack and Deliver Synth Based Look And Feel

Posted by xuanyun on February 1, 2009 at 5:57 AM EST

If you want to deliver your Synth based look and feel, packaging it as a jar file will be a good idea. There are different structures for different look and feel packages, here I will introduce the one from EaSynth look and feel.

Pass Parameters to Painters of Synth Look And Feel

Posted by xuanyun on January 30, 2009 at 5:17 AM EST

Synth look and feel allow us to implement our own painter classes to render the components, that is very good since we can draw anything in our painter class.

Embedded Objects in Synth Look And Feel

Posted by xuanyun on January 28, 2009 at 9:36 AM EST

As we know, Synth look and feel can be customized with an XML file which satisfies the Synth XML format. After we go through the document, we can conclude that the type of property in the XML can be one of the following:

Change the Tab Size of JTabbedPane

Posted by xuanyun on January 27, 2009 at 7:17 AM EST

The JTabbedPane class has not provided an API to set the tab size, but sometimes we do need this, we can find some ways to work arround.

First of all I create a JTabbedPane component with four tabs.

Integrate Your UI Class into Synth Look And Feel

Posted by xuanyun on January 26, 2009 at 4:17 AM EST

Several years ago, when we talk about designing look and feel, we know it is about implementing different UI classes for different components.