Use IDEA 4.5 LookAndFeel Elsewhere

The default Look and Feel in the Community edition is IDEA (4.5 default).
Is it possible to use this laf in other applications?
I couldn't find a separate jar for it so I think it is wrapped up somewhere in the idea.jar
If you look in the options.xml it says idea.laf.classname instead of the actual classname.

2 comments
Comment actions Permalink

Hello opticyclic,

The class is simply an extension of Metal L&F; it's implemented as an inner
class of LafManagerImpl. You can reuse it if you extract it into a separate
class.

The default Look and Feel in the Community edition is IDEA (4.5
default).
Is it possible to use this laf in other applications?
I couldn't find a separate jar for it so I think it is wrapped up
somewhere in the idea.jar
If you look in the options.xml it says idea.laf.classname instead of
the actual classname.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

That turned out to be slightly harder than expected as there were lots of dependencies.

In a recent project I had a need for the following:
LookAndFeel
Diff Viewer
Docking

The stuff in IDEA is some of the best, but its quite difficult to untangle it from the rest of the sources.
It would be really cool if JetBrains could package out some of the parts of IDEA as reusable components.

0

Please sign in to leave a comment.