Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: Swing

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Swing

The next entry of the Swing in a better world serial
on Feb 9, 2012 | Permalink | Discuss
I awoke to my mobile ringing.  Our support staff was having issues. (The beauty of the web is everybody around the world can use your application, the ugly part of the web is everybody is using your application 24x7.) Pages are broken and things are not displaying. I GTM(gotomeeting) with the support staff to see the issues first hand. Things are working for me, but not support.  Pages...
on Nov 29, 2011 | Permalink | Discuss
Swing makes it very easy to control and modify simple components like JLabel or JButton. It gets trickier when you customize a compound component like JTree or JTable. Unlike a simple component, JTable consists of multiple subcomponents like table header, renderer and editor, so actually JTable is not a single component but a container with several descendants. Imagine that you want to customize...
on Sep 7, 2011 | Permalink | Discuss
In the list of the things that needs improving in Swing, the implementation of listeners takes the first place. The problem is the fact that the order in which listeners are notified is not specified and it is not even guaranteed that your listeners will be notified after the Swing system listeners. Actually all listeners can be mixed together with any possible combination and it leads to two...
on Jun 15, 2011 | Permalink | Discuss
Generics doesn't work well with arrays. Everybody knows that you can't create a generified array, but not many people really know what it was done this way. A nice article from Brian Goetz helped me to understand the problem when I studied the new features of JDK 5. The arrays in java are covariant when generics are not. The following code clearly shows it: String stringArray[] = new...
on May 5, 2011 | Permalink | Discuss
Checked exceptions are painful. I could write a long article about it, but there are more than enough good blogs describing this problem. My favorite article is written by Rod Waldhoff. From my point of view the existence of the InvocationTargetException clearly shows the problem. Imagine you call a method which throws an exception, you properly catches it and then you decide to rewrite the...
on Mar 21, 2011 | Permalink | Discuss
We have all read the "Effective Java" book and know that we should prefer interfaces over abstract classes. This is a known and respected pattern which should be used wherever possible. However the years in the JDK team tauhgt me not to blindly trust to good practices from the world of application programming. A distinctive feature of the JDK is backward compatibility. All programms...
on Mar 11, 2011 | Permalink | Discuss
I truly love the Swing GUI toolkit, I enjoy its flexibility, opennes and great abilities. I know that some people say that Swing is too difficult to learn, and I partly accept it because it took me several years working in the Swing team to get the whole picture of the AWT, Java 2D and the Swing itself. The Swing history counts more then 10 years and it is definitely not about end. The new...
on Mar 10, 2011 | Permalink | Discuss

GUI

Information on the new SwingX 1.6.3 release.
on Feb 2, 2012 | Permalink | Discuss
On the new JavaFX 2.0.2 beta release for Mac OS.
on Oct 5, 2011 | Permalink | Discuss
How JavaFX 2.0 takes the best ideas from Swing, Flash, HTML, CSS, and JavaScript and brings it all together in one powerful technology.
on Sep 18, 2011 | Permalink | Discuss
One of the key features of JavaFX 2.0 is an ability to embed JavaFX content into Swing applications. This post provides some details about how it should be done.
on Jun 2, 2011 | Permalink | Discuss
When programming in Java, everywhere I go I stumble over "dead" technology. That's a mess, since that technology was really great and still would be very useful. But some day, "someone" just declared it's death. But why?
on Apr 24, 2011 | Permalink | Discuss
The first rule of Swing programming is to always interact with Swing components in the Event Dispatch Thread (EDT, for short).  Swing is single-threaded (as a lot of UI toolkits are) and as such it can only makes guarantees about the state of Swing components when interacted with properly on the EDT.  Some Swing methods are thread-safe, such as JComponent.repaint.  Recently,...
on Jan 19, 2011 | Permalink | Discuss
Announcing the release of Apache Pivot 2.0.
on Jan 19, 2011 | Permalink | Discuss

Programming

A new tutorial exercises VisualLangLab using all the examples and techniques in Chapter-3 "A Quick Tour for the Impatient" of the book "The Definitive ANTLR Reference". A new "WildCard" pseudo-token that matches any other defined token has been added to facilitate recovery from grammar errors in the input. Read about the various other improvements that make VisualLangLab even more user-friendly.
on Dec 14, 2011 | Permalink | Discuss
JavaFX 2.0 is not multiplatform! It can't do subpixel antialiasing!! … these were among the reactions to the first beta releases, that I'm not sure to understand as trolling or simple laziness. These mysteries are usually solved with a simple look at JavaFX's public JIRA issue tracking system. The current implementation is still a beta, not even a feature-complete beta, so there are many...
on Jun 18, 2011 | Permalink | Discuss
It's been a long time, well long in Internet-years, since my last blog on JavaFX. Now I'm approaching JavaFX 2.0 by porting the JavaFX 1.x programs that I had written and blogged about here. These new ports will allow me to evaluate the evolution of the platform. Has the wait been worth it? Porting from JavaFX 1 For my first port I’ve picked JavaFX Balls. (But this blog is not about...
on May 28, 2011 | Permalink | Discuss
After a long hiatus the Timing Project is moving forward again.
on Apr 13, 2011 | Permalink | Discuss

Education

I'll like to let you know the dates of JCertif 2011 the biggest Java Community Event in Africa. About 800+ attendees from many countries. We will be happy to have you as Speaker on Developer Tools, Java, Open Source, Mobile Apps...or Business solutions. Still hesitating to join JCertif 2011 ? See the past event : JCertif 2010 and this blog post
on Jan 1, 2011 | Permalink | Discuss