Advanced GUI programming - tutorials etc

I've put together several gui's in java before, but they always look a little bit crap - always that generic swing library stuff that blends in with the rest of windows.
I need to put together a project thats a little more "graphicy" now, and was wondering if anyone could poing me to some tutorials/examples of how to do something a little better.

I am fairly profficient in photoshop so something where i can take some of my designs in ps and translate it into a gui would be good - any ideas tips anyone?


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Well if you want to avoid the standard appearance of Swing, you'll need to modify the "look and feel".

Have a search on

Here's one for starters :

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
oki oki
for better GUI, using swing and look-n-feel. You can download many free look and feel at this URL

Enjoy!!! :))
import java.awt.*;
import javax.swing.;

public class Test extends JPanel{

//Image image=Toolkit.getDefaultToolkit().getImage(fileName or url);

  Image image=Toolkit.getDefaultToolkit().getImage("watever.jpg");

  public Test(){

  public void paintComponent(Graphics g){
    g.drawImage(image, 0, 0, this);

if you have a picture with the name watever.jpg, it should be able to "paint" the picture onto this JPanel( after that, add in other component on this panel.. the pic will serve as the background..

you can also check out from the tutorial on how to paint image on the panel, icon on the label or button.. hope this may help!

Sorry, it's been a looong while that i didn't actually touch programming, so if anything missing from the above code, please, if any of the experts can, fill in for me. :)

Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

tell us in detail what you really wanted to achieve, and maybe we can provide some links or codes to help you ;)

dcollisAuthor Commented:
not exactly what i was looking for. but gave me more areas to look into anyway.

I am now using a combination of springlayout and look and feel to achieve a good looking gui.

cheers for the help,

Thanks and good luck ;-)

What's springlayout?  Is it available on a URL somewhere?
dcollisAuthor Commented:

is a little unwieldy (as with most of swing i find)...but has allowed me to layout my gui alot easier than using one of the other layout techniques.
Well.  I haven't come across that one before :-)

Always good to learn something new.

Target achieved for the day ;-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.