Skip to main content

Alexander Potochkin

Alexander Potochkin is an engineer on the Swing team. He enjoys solving puzzles, traveling to different countries and always returning to Saint Petersburg, Russia.


alexfromsun's blog

SAF team is looking for experienced contributors

Posted by alexfromsun on March 26, 2009 at 10:34 AM PDT

As I promised in the previous entry, the work on the Swing Application Framework has been restarted.

Swing Application Framework is back again

Posted by alexfromsun on March 2, 2009 at 12:02 PM PST

I know this is not good to disappear for a long time from blogging and SAF mail aliases, I am sorry about that. This happened because Swing team had some urgent temporary tasks to work on.

Swing Application Framework update

Posted by alexfromsun on August 6, 2008 at 10:10 AM PDT

As you probably know, a few weeks ago I became the new specification lead for the Swing Application Framework project (JSR-296). This project has been fairly silent for the last little while, so it is high time to continue with working on this framework and complete it timely.

JXLayer 3.0 - Event handling

Posted by alexfromsun on July 27, 2008 at 3:03 PM PDT

One of the biggest advantage of JXLayer 3.0 over the previous version is the ability to catch input events of its subcomponents. I started to think about this feature when I was asked if it was possible to implement the auto-scrolling feature with jxlayer.

JXLayer 3.0 - Painting implementation

Posted by alexfromsun on July 17, 2008 at 4:26 AM PDT

The JXLayer's functionality consists of two parts: painting issues and input event processing.

In this entry I'll describe painting in details, the second part will come shortly.

Painting issues

JXLayer 3.0 - LockableUI

Posted by alexfromsun on July 13, 2008 at 6:47 AM PDT

LockableUI is definitely one of the most challenging feature in the JXLayer library. I have already written about why it was difficult and suggested several solutions and discuss the potential problems.
So it was a long way to make it right and now I am satisfied with the result.

JXLayer 3.0 - MouseScrollableUI

Posted by alexfromsun on June 24, 2008 at 10:39 AM PDT

The mouse auto-scrolling is very popular these days for modern applications. I usually use this feature in the Firefox browser - you click the mouse wheel somewhere on the page and can immediately start scrolling.

JXLayer 3.0 - Getting started

Posted by alexfromsun on June 5, 2008 at 9:49 AM PDT

It is my pleasure to announce a major update of JXLayer component.
The new version is hosted on its own project, where I will also provide links to all my blogs about this component.

So, why I encourage everybody to try out the new JXLayer?

RepaintManager's side effect

Posted by alexfromsun on April 13, 2008 at 7:49 AM PDT

When I worked on the lightweight disabling of compound Swing components for my JXLayer project, I tried different approaches to workaround the problems with the custom painting of double-buffered components.

The last try was using the JComponent.print() method instead of

JTrayIcon update

Posted by alexfromsun on February 14, 2008 at 11:12 AM PST

JDK 6 introduced plenty of cool desktop features, like famous gray-rect fix or advanced drag and drop support,