I think cheerpj is what you're after. With a few caveats like "truly" desktop/native features might not work - like e.g. file & database access, OS interaction, sockets, etc. Haven't used it personally, don't know about licensing & pricing.
În mie., 2 apr. 2025 la 16:47, slipbits <slipb...@slipbits.com> a scris: > Thanks. I think that that does help. > > The issue is that my program is several thousand lines long, and putting > it into a web page seems tedious. But, if there isn't any other way to > do it then maybe I'll try a server solution and see how that works out. > > art > > On 4/2/2025 6:30 AM, Thomas Wolf wrote: > > I think you're a bit confused. There's no such thing as a web page with > embedded java. Perhaps you're talking about Java Server Pages (JSP) - with > that technology, you can create text files that contain HTML (and maybe > Javascript) and Java code to provide the dynamic content for that HTML. > When someone on a browser asks for that file, the java in that file gets > executed and the then completed 'web page' gets returned to the browser. > > > > If you're interested in doing everything on the client, you can't use > Java, much less Java Swing, which is a desktop technology - i.e. it doesn't > run inside a browser*. You want to look into Javascript based frameworks > like React. > > > > Hope this help, > > Tom > > > > *There used to be a couple Java-based technologies called "Applets" and > "Webstart" that would allow you to run Java on the client side (applets > could inside the browser, webstart based programs would only invoked by the > browser, but would run separately as a desktop application). As someone > else pointed out, those are pretty much dead/deprecated technologies and > you probably shouldn't try to use those in a new web-based application. > > > > > >> On Apr 1, 2025, at 4:35 PM, slipbits <slipb...@slipbits.com> wrote: > >> > >> Just started learning how to create Web page with embedded Java using > the Java Tutorials. The tutorials are geared to a client/server interface. > I am interested in performing all activities at the client side. > >> > >> The objective is to include a Java program within a Web page, and to > provide an interface between program and user through Java swing. I don't > know how to do this, and I'm not sure that the online tutorials will be > helpful. > >> > >> Are there any resources in NB or elsewhere, that identify how this is > to be done? > >> > >> As a secondary question, if I develop the program an interface separate > from any NB I/F can I include the separate development in a Web page using > NB? > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > >> For additional commands, e-mail: users-h...@netbeans.apache.org > >> > >> For further information about the NetBeans mailing lists, visit: > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > > For additional commands, e-mail: users-h...@netbeans.apache.org > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >