Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eye Candy GUI

 
Tom Wheeler
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so I've built some j2SE apps now, and I can "skin" them to look like whatever I want, but now I want to go further. Its always a "Windows" look even "skinned".

How do you make your apps really custom looking. For example there is a Java WinAmp clone called jlGUI that has a custom interface. Nero SmartStart is cool, too (even though it isn't written in Java that I'm aware).

So how is it done? Check out:

http://www.javazoom.net/jlgui/jlgui.html

to see what I mean.

Thanks in advance.
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> http://www.javazoom.net/jlgui/jlgui.html

Eye candy is right -- that GUI makes my teeth hurt. Oh wait, it's because I'm *grinding* my teeth.

But then I'm an old codger...
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use a java.awt.Window instead of a (J)Frame. That way your window has no borders. Then fire up Photoshop, and draw your GUI. Then draw the image into your java.awt.Window.

Then for your individual controls, you have several options. Use plain ordinary ones, if they don't look too bad. If they do, then you need to create a custom full or partial L&F for those individual components. It's not rocket science, but neither is it a walk in the park. This book is an excellent resource if you need to do any of this. The book even explains how to fake non-square windows!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic