Solving Ubuntu 12.04 Netbeans swing problem

I have tried to launch and run a new Swing application in Netbeans 7.0.1 but surprisingly, I saw that when I had run the application, Java gave me bunch of exceptions regarding that “package org.jdesktop.layout does not exist ubuntu”. At first I have thought that the problem might come from …