Oh, I'm sorry. I was under the impression that with JS you had to write functions to do all those things. My ignorance showing....
On Fri, Mar 16, 2018 at 2:28 PM, Dmitry Avtonomov < dmitriy.avtono...@gmail.com> wrote: > @Chuck > Yes and no. I mean HTML+JS+CSS. I'm still struggling with something like > the attached image (hopefully the attached image won't get cut out). > There's mig layout that sort of comes close, but overall my experience > with swing (including its layouts) is that it's fine as long as I need to > position a few elements here and there (and I definitely like it more than > WinForms). But overall the amount of configuration, clicking in netbeans, > adding libraries for validation balloon popups etc, adding listeners for > focus lost, writing methods for programmatically updating fields and making > sure that the same logic as onFocusLost is executed, listening to document > changes on text fields etc is just enormous. Maybe there's some silver > bullet that I don't know of. > > And you might say that I'll get all the same problems with an html/js/css > solution. But there are probably 2 billion devs working on the tech every > day, pushing dozens of libs every year. How much progress is there in the > Java Swing world? We're stuck with solutions a decade old (I might be wrong > though). > > PS: I haven't tried javafx. I tried to try it once a very long time ago > (when I knew much less than now), didn't get it, stuck with swing. Started > using NBP - looked like swing was the first class citizen, so again that > was my choice. > > > > > On Fri, Mar 16, 2018 at 11:50 AM, Chuck Davis <cjgun...@gmail.com> wrote: > >> Dmitry, that is the whole purpose of Swing layouts. HTML tables cannot >> compare with the functionality of layouts. >> >> >> I also constantly find myself struggling with creating forms in swing that >> > are just used to represent parameters for command line programs, it's >> > always tricky for me to make everything aligned and resize nicely. Form >> > validation is yet another pain in the ass, especially when it comes to >> the >> > visual part of notifying the user what's wrong in which part of the >> form. >> > It would be so nice if all of this could just be rendered as a simple >> html >> > table with my choice of js validation framework and that I didn't have >> to >> > think about layouts etc too much. >> > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org > For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > >