AssertionError at org.netbeans.api.visual.widget.Widget.addChild

2018-03-19 Thread Efrem Mc
Please verify this is bug: AssertionError at org.netbeans.api.visual.widget.Widget.addChild https://issues.apache.org/jira/browse/NETBEANS-488 Step to reproduce: 1. Created a new Project- Java Application, provide a new name 2. From Project window, Right-click on MyJavaApplication1.java, s

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Toni Epple
I agree. With swing/javafx you have a quite complete set of basic ui controls and a small niche market of third party components. With html/css you have a small/incomplete set of controls, but a huge market of free and commercial component libraries. If you want a component suite, you could ha

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Toni Epple
Yes, with java 9 and the jlink tool you can get jvms as small as 13mb. Your experiment sounds like alot of fun :) Von meinem iPad gesendet > Am 19.03.2018 um 20:52 schrieb Neil C Smith : > >> On Mon, 19 Mar 2018 at 14:24 Toni Epple wrote: >> >> On linux a natively packaged JavaFX application

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Scott Palmer
> On Mar 19, 2018, at 1:13 PM, Neil C Smith wrote: > > On Mon, 19 Mar 2018 at 16:40 Scott Palmer wrote: > >> Toni, (replying off-list as this really isn’t about NetBeans) >> ... >> Can you point me to one of those third party components that can do what >> JTable or TableView already does? >>

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Neil C Smith
On Mon, 19 Mar 2018 at 14:24 Toni Epple wrote: > On linux a natively packaged JavaFX application is about 40mb (without > webview). Is that with the JRE as well? On disk or as distributed? That's smaller than I expected. I don't really use JavaFX, and native packaging doesn't seem to want to

Re: Fwd: Congratulations! Your talk has been accepted for FOSS Backstage

2018-03-19 Thread Kai Uwe Pel
Sounds awesome! Would love to join to this event as well. Kai On 3/19/2018 6:22 PM, Geertjan Wielenga wrote: Hi all, Who, especially those in Germany, want to join me in Berlin on 13/14 June to talk about Apache NetBeans? :-) Chris Lenz, Toni Epple, Matthias Blaesing, Michael Mueller, for ex

Re: Fwd: Congratulations! Your talk has been accepted for FOSS Backstage

2018-03-19 Thread Daniel Gruno
On 03/19/2018 06:22 PM, Geertjan Wielenga wrote: Hi all, Who, especially those in Germany, want to join me in Berlin on 13/14 June to talk about Apache NetBeans? :-) No promises, but I might be there (Isabel has been nudging me to go after all) :-). With regards, Daniel. -

AW: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread toni.epple
Hi Scott, here's an example of an advanced table control with fixed headers: https://fancygrid.com/gallery/ And here's a listing of some table/spreadsheet controls: https://jspreadsheets.com/ I personally created my own where I create just enough row elements for the viewport and reuse them b

Fwd: Congratulations! Your talk has been accepted for FOSS Backstage

2018-03-19 Thread Geertjan Wielenga
Hi all, Who, especially those in Germany, want to join me in Berlin on 13/14 June to talk about Apache NetBeans? :-) Chris Lenz, Toni Epple, Matthias Blaesing, Michael Mueller, for example? Anyone on the dev@ thread, more than welcome to join this session to share experiences. Would be great to

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Neil C Smith
On Mon, 19 Mar 2018 at 16:40 Scott Palmer wrote: > Toni, (replying off-list as this really isn’t about NetBeans) > ... > Can you point me to one of those third party components that can do what > JTable or TableView already does? > As didn't quite manage off-list ;-) A quick Googling found thi

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Scott Palmer
Toni, (replying off-list as this really isn’t about NetBeans) I’m not even at the “large data set” point yet. I’m talking about the basics - a table with data that scrolls independently of column headings. So far anything I’ve found that tries to get the table headings to align with the data

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Toni Epple
There‘s no standard control that is usable for large data sets, but plenty of data grid components from different third parties, and it‘s not hard to roll your own if you have special requirements. I did that for a customer, and it took me about a day. —-Toni Von meinem iPad gesendet > Am 19.

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Toni Epple
I wrote a „big table“ control for a customer who uses the html/java APIs a while ago, so I think it would work. I know that OutlineView has issues with huge data sets, since it’s simply not meant for this, but it‘s surprising that JTable has such issues. I used it a lot for huge datasets in the

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Scott Palmer
> On Mar 19, 2018, at 10:25 AM, John Kostaras wrote: > > *"This is the bit I don't understand. Why would you want to do that? > In every Swing component I can think of you wouldn't render an entire > large data set in the view in one go or it would grind to a halt - you'd > render a subset/sum

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread John Kostaras
*"This is the bit I don't understand. Why would you want to do that? In every Swing component I can think of you wouldn't render an entire large data set in the view in one go or it would grind to a halt - you'd render a subset/summary/coalesced view of the model surely? The point of this approac

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Toni Epple
On linux a natively packaged JavaFX application is about 40mb (without webview). I don‘t think we need any of the Electron / NodeJS APIs when we use our HTML/Java APIs, since we have access to the complete Java API. We’ve been developing reasonably large applications with it, and we didn‘t miss

Re: The bundle "xxx" could not be resolved. Reason: Missing Constraint: Import-Package...

2018-03-19 Thread Christian Bourque
Hi Emilian, You're right! After doing some research I found out that the JCraft dependency isn't working because it's not OSGi compliant! But I found an alternative JCraft artifact that is repackaged by Apache especially for OSGi purposes: https://mvnrepository.com/artifact/org.apache.servicemix.

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Neil C Smith
On Mon, 19 Mar 2018 at 00:52 Victor Williams Stafusa da Silva < victorwssi...@gmail.com> wrote: > But since people are/were talking about electron > (or other replacements for Swing/AWT/JavaFX), let's give a look at this and > not commit the same mistakes: > https://josephg.com/blog/electron-is-fl

AW: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Christian Lenz
That would be great, if we have the chromium Content module alternative. 😊 Cheers Chris Von: Toni Epple Gesendet: Montag, 19. März 2018 08:05 An: dev@netbeans.incubator.apache.org Betreff: Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI I have no plans to embed ele

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Fabrizio Giudici
On Mon, 19 Mar 2018 08:05:13 +0100, Toni Epple wrote: But I‘d love to replace JavaFX WebView which is a 49mb Java 9 module with chromium content module, Which is about 40-50 mb and has better features. If we want HTML5 for Java UIS, I believe this is the way to go. -- Fabrizio Giudici

Re: How to implement a Multi-knob-slider - HTML for JAVA API or Swing?

2018-03-19 Thread Toni Epple
On my ipad and about to leave, so just a quick reply. If you ant to try out HTML/Java APIs I suggest to create the component as a Knockoutjs component. HTML/Java integrates with knockout to bind the View to the Java Model. Von meinem iPad gesendet > Am 18.03.2018 um 20:41 schrieb Oliver Rettig

Re: Usability study was: Think Java, not Electron! was: Apache HTML/Java UI

2018-03-19 Thread Toni Epple
I have no plans to embed electron as it would be overkill. A HelloWorld is 115 mb and contains nodejs and desktop APIs we don’t need. But I‘d love to replace JavaFX WebView which is a 49mb Java 9 module with chromium content module, Which is about 40-50 mb and has better features. Von meinem i