Search code examples
user-interfacenetbeanseditorthemesdesigner

NetBeans GUI editor skin/theme


I'm creating a Java Web Applet in NetBeans and I want my final application to have a design called "Metal". I can set it, it's OK. But when I'm editing the GUI using "NetBeans GUI editor", I must work with the typical Windows design. Is it possible to use the "Metal" skin in the editor too? Each design has different sizes of buttons, fonts etc. So I'd love to see the final layout during editing. Not only after compiling.

I know that I can right-click and select "Design preview / Metal" but I do not want this. For ilustration I'm attaching an image:

NetBeans GUI editor appearance

I saw this question in a few forums, but nobody understood it well (and nobody answered), so I'm asking my own question.


Solution

  • Thanks, it worked. But <snip> caused an error message, so I added to

    "netbeans_default_options" only this:

    "--laf javax.swing.plaf.metal.MetalLookAndFeel"

    Side effect was, that whole NetBeans now have Metal design. But I like it, so why not.