-1

I want to use a Look and Feel for my Java GUI project (in Swing) in which the windows container's frame color is dark and the color of the body of the container is white.

As an example, you can see the picture of the browser: the frame is black while the body is white. I want something like that in my Java GUI project. Preferably a Nimbus L&F, so any suggestions?

enter image description here

Solace
  • 8,612
  • 22
  • 95
  • 183
  • I have just been searching on whichever L&F to use. I haven't tried using one yet, since I haven't found it yet. – Solace May 04 '14 at 06:08
  • Have a look at the links shared by me. – Braj May 04 '14 at 06:09
  • Thank you very much for the extensive answer. I have accepted that answer. But if you just downvoted, I am afraid I don't agree because I asked for suggestions on which L&F to use... so that was my search query before posting the question! – Solace May 04 '14 at 06:16
  • I haven't down voted your question but at least I can up vote it. – Braj May 04 '14 at 06:18

2 Answers2

3

Try this one for Nimbus look and feel.

SwingUtilities.invokeLater(new Runnable() {

    @Override
    public void run() {
        try {
            for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
            // If Nimbus is not available, you can set the GUI to 
            // another look and feel.
        }
    }
});

For more info have a look at below links:

Community
  • 1
  • 1
Braj
  • 46,415
  • 5
  • 60
  • 76
3

Take a look at JTattoo look and feel library, with an assortment you can choose from

Here are a couple from the library

JTattoo Acryl LAF

enter image description here

JTattoo Graphite LAF

enter image description here

Paul Samsotha
  • 205,037
  • 37
  • 486
  • 720