Why not using VS Code or Electron. Of course sometimes I use VS Code, first to 
edit or open a file, it opens in 3 – 5 seconds and I can use it after 6 
seconds. NetBeans, I have to wait more, it is better now but maybe it opens in 
10 seconds and I can work with it in 20s or so. This is why I use VS Code. 
Electron I will use it, when I want to create a Desktop app, atm. I don’t have 
too, maybe somewhen.

I like NetBeans, really, if you follow me and my channels, I do some stuff, 
like plugins and fixes etc. But when I have the possibleity to mix stuff from 
NetBeans like plugin architecture AND to make a nice fancy UI with my/web 
Technologies, why shouldn’t it be possible for me? I break with swing, because 
of the Mantisse Editor. It is ok but Needs enhancements. And I’m fast to create 
UIs and with JS the binding etc.

So I will still contribute to NB but if we have a fast alternative to the UIs, 
it is even better for me. I think swing plugins, HTML4J plugins and JavaFX 
plugins, can co exists. If this is possible, all of them should fast enough to 
have a value to say, hm I can use this, or this, or this w/o any disadvantages.


Cheers

Chris

Von: Wade Chandler
Gesendet: Donnerstag, 15. März 2018 03:56
An: dev@netbeans.incubator.apache.org
Betreff: Re: AW: Think Java, not Electron! was: Apache HTML/Java UI instead of

On Mar 13, 2018 08:39, "Christian Lenz" <christian.l...@gmx.net> wrote:

There are big players out there. And why I love electron? Because it is
fucking HTML, CSS and JS AND for the Backend too. This eco system was build
for fullstack developers, who wants to create desktop applications with
HTML/CSS/JS still in the background.

You know my example NbScratchFile, this is I think one of the best solution
to promote a plugin for NetBeans, which was written in HTML, SCSS/CSS,
TS/JS with a Framework called Knockout, a buildsystem with webpack and a
communication with Java in the backend. Why I’ve chosen it? Because I
wanted to write a plugin for NetBeans but w/o swing. The Mantisse editor is
cool but far away from perfect, I created a ticket for a big problem to
align checkboxes with labels pixel perfect, inside the Editor:
https://netbeans.org/bugzilla/show_bug.cgi?id=257519

Why I’m not writing the controls in Java? Sry but no, we have Qt, we have
WPF (C# with XAML) and we have WYSIWYG editors to create UIs quick and fast
and sometimes dirty. In HTML I don’t need such editor. It is my daily
business, I have chrome with the powerful and best DevTools ever to see my
progress immediately and I’m fast w/o having an editor.


So why not use Electron and VS Code and contribute to them? Not meant to be
a flame, but those things exist as they are, and are what you say you want.
You don't want to write in Java. They are the thing you want.

I mean, I use NB and contribute to it because of what it is, and it's
unique characteristics and platform. Many of us have an appreciation for
Swing and NB RCP. I can build UIs and components in the technology and love
it. I also build web apps with Angular, but I don't want the IDE I'm
writing to be that, nor NB which I've put a lot of energy into over the
years; it is different, and that's a good thing.

Frankly, were it changing into that, an Electron clone, then as you say,
lots of big players there, why wouldn't I just go to those open source
projects which are already that instead of spending my time changing
something else into essentially that? Seems a better use of my life and
time.

Electron is OK. It also produces some bloatware, and that is just truth.
Look at how much RAM and all Slack and Code use with some simple things
running.

More than Java was compared to the natives we quit building back in the
day. Even on a quad core 16GB Mac they sometimes get weird issues, lock,
and do what software does. That's life, but look at all those running
subprocesses.

Now, NB the IDE does too, but that is the editor index bug. Not the UI. We
at least know those headaches, and where to start looking to address those
issues once moved over. Too, you say it looks like crap, but I disagree.

Given Swing/AWT, what about IntelliJ, Android Studio, Web Storm, etc? All
Swing/AWT. Very popular. I don't think they look like crap either.

They look like IDEs. VS Code looks roughly the same. I also use it with my
other tools. It doesn't jump out to me as something extra pleasing in the
visual department compared to other IDEs and text editors.

It has its pluses and minuses, but it's look compared to a Darkula NB
install isn't necessarily leaps and bounds over anything else. It does let
me edit Dotnet Core quickly on my Mac though.

Wade

Reply via email to