Where do I find nice jar's to download (how do I download them from
the site and how do I implement them in the project (what code do I
need?).
In short: How to implement look and feel gui for idiots...?
p.s.
close dead line
Thanks,
YK
Robert Karlsson - 26 Jul 2004 14:30 GMT
> Where do I find nice jar's to download (how do I download them from
> the site and how do I implement them in the project (what code do I
> need?).
> In short: How to implement look and feel gui for idiots...?
You could start by looking at www.javootoo.com, they
have links to several LnF:s out there.
:: rob
Adam - 27 Jul 2004 11:10 GMT
> Where do I find nice jar's to download (how do I download them from
> the site and how do I implement them in the project (what code do I
> need?).
> In short: How to implement look and feel gui for idiots...?
I see two separate questions here:
1. Where to get jars with example LnF to use and see?
2. How to implement my own LnF?
Ad 1.) Use the google Luke. When I wanted to download some samle LnFs
it took me half an hour to get several of them.
You can start with www.jgoodies.com
After you have downloaded a jar with a LnF, put it
on your classpath and in your code, before creating any
frames/dialogs, call
UIManager.setLookAndFeel(nameOfTheClassExtendingLookAndFeelFromTheJar)
;
Ad 2.) You don't need any extra jars to do that.
You just have to subclass javax.swing.LookAndFeel
(or one of it's subclasses) and plug it into UIManager
(just like you would in 1.)
Search Sun's tutorials for a start.
Adam