How can I get Intellij Idea in a Swing app?

In my opinion, Intellij IDEA, as a popular IDE application for Java, looks very beautiful.

How did he do that? And how can I look and feel like Intellij IDEA in my Swing app?

+8
source share
4 answers

Current IntelliJ IDEA versions come bundled with 3 themes:

  • IntelliJ (default light theme)
  • Darkula (dark theme)
  • High contrast (accessibility theme)

The Darcula theme is available as a standalone open source project and can be reused in your own applications.


Original answer from 2011:

By default, IDEA uses Alloy Look & Feel . This is a commercial L&F, and it is already quite old and without updates. One of the main problems is that it does not support anti-aliasing on most platforms.

Therefore, for Windows, I would recommend using Windows L & F. For Mac, IDEA already uses Macs specific to L & F. Alloy can only be worth it on Linux, where most other L & Fs look very ugly, although GTK may be the best choice.

+4
source

Regarding the topic of Darcula ,

"I'm working on making Darcula standalone LaF. The work is almost done, and I'm ready to release Darcula v 1.0 alpha or something like that. This means you can run applications like this:

$ java -cp "darcula.jar:myapplication.jar" -Dswing.laf=Darcula MainClass 

And everything should work
I’ll make an announcement when Darcula is ready to publish "

Konstantin Bulenkov - June 12, 2013

https://plus.google.com/+jetbrains/posts/NNCSHsjGNXD

I cannot find any further information though.

+7
source

I don’t know the exact appearance, since intellij cause never used it [I am an Eclipse user]. but the following options for appearance:

+5
source

Thanks a lot to CrazyCoder , Harry Joy .

By default, Intellij IDEA uses Alloy Look & Feel . This is a commercial L&F, and it is already quite old and without updates. One of the main problems is that it does not support anti-aliasing on most platforms.

To maintain consistency across different operating systems (e.g. Mac OS X, Win, Linux), Alloy Look & Feel may be a good choice. However, I would use open source L & F, like JGoodies.

-3
source

All Articles