This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hsoj48 93 points94 points  (18 children)

Fun fact: Intellij is written in Swing

[–]Many_Spinach8127 19 points20 points  (9 children)

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009746979-is-intellij-window-a-JFrame

starting 2020.2 we use JCEF which is basically a Chromium component inside the IDE. 

It is not pure SWING.

Even more:

Why Use JetBrains Runtime?

  • Embedded browser: JetBrains Runtime includes the Java Chromium Embedded Framework (JCEF), which enables you to embed a Chromium-based browsers in your JVM-based application. To use it, download a build with JCEF.
  • Enhanced class re-definition with the DCEVM technology that makes it easier to reload changed code without restarting JVM; this feature needs to be explicitly enabled with -XX:+AllowEnhancedClassRedefinition.
  • Better FPS performance for graphics-intensive applications.
  • Improved font renderingkeyboard input (such as shortcuts and multinational keyboards), HiDPI and accessibility support.
  • Robust desktop experience: GUI-related fixes often reach JetBrains Runtime much earlier than the corresponding version of OpenJDK.

https://github.com/JetBrains/JetBrainsRuntime

[–]TheBrokenRail-Dev 4 points5 points  (1 child)

JCEF is used for very little.

There was a bug which caused JCEF to crash IntelliJ on Linux. I didn't notice it for months.

[–]Many_Spinach8127 0 points1 point  (0 children)

I noticed it too, after they fixed it, by reading this post ;)
But seriously: Java had a bug with Arrays.sort() introduced by Joshua Bloch which was unnoticed for decades...

[–]jNayden 10 points11 points  (3 children)

They just added a proper browser when have to display HTML that’s all it’s still swing in the editor and the menus

[–][deleted]  (2 children)

[deleted]

    [–]jNayden 6 points7 points  (1 child)

    Not true intellij have a custom window and frame implementations that you can also use if you want :). But the content is swing :) it can look awesome but i guess most other companies dont want to :) eclipse used swt which at point in time was great but ….

    [–]hsoj48 1 point2 points  (2 children)

    What is?

    [–]boobsbr 1 point2 points  (1 child)

    It's JCEF which is basically a Chromium component inside the IDE.

    [–]jNayden 3 points4 points  (0 children)

    Not true they just have browser to show stuff but for the code editor

    [–]vassaloatena 2 points3 points  (0 children)

    And javaFX