> On Mar 19, 2018, at 1:13 PM, Neil C Smith <[email protected]> wrote: > > On Mon, 19 Mar 2018 at 16:40 Scott Palmer <[email protected]> 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 ;-)
Yes… I caught that the second after pressing send ;-). Figured I already spammed the list once, so I wouldn’t send an “oops” msg too. I’m replying to the list this time, but I don’t want to take this thread off in another direction. Thanks to you and Toni. There may be something I can use listed at https://jspreadsheets.com/ <https://jspreadsheets.com/> I do have a web app that needs this. > > This seems to achieve what you wanted to do in CSS? > https://codepen.io/tjvantoll/pen/JEKIu > <https://codepen.io/tjvantoll/pen/JEKIu> Found when I first went searching. Not impressed at all. The column widths are hard-coded, there is no synchronization between the header and the data column sizes at all. No column show/hide, reordering, resizing, etc. This was in fact one of the examples that lead me to conclude that HTML UIs can be very ugly hacks. I think the very existence of https://jspreadsheets.com/ <https://jspreadsheets.com/> makes the point though. Basic controls are lacking in stock HTML UIs. HTML/5 is still the wild west in terms of making an application UI. Using these Javascript widgets and/or writing controls from scratch can certainly get you somewhere, but it demonstrates that HTML/5 is missing even basic widgets needed to be a good full-featured UI framework for applications. Compare what you have to go through to even make use of any of the libraries at https://jspreadsheets.com/ <https://jspreadsheets.com/> (and it’s a one-off for a single widget!) and you can see how much farther ahead Swing with Matisse or JavaFX with SceneBuilder are. I still don’t see the appeal to use HTML for desktop apps. It’s more work for less if you aren’t going to re-use it for the web as well. Regards, Scott
