Greetings, when now SwingUI was involved then likely WebAssembly will
do the trick: https://www.baeldung.com/java-wasm-web-assembly

I can personally recommend TeaVM, its quite impressive.

Good luck and cheers
Andreas


On Fri, 2026-01-09 at 10:40 +0100, Faramir KAZ wrote:
>  
> I use Processing. I don’t see any call to Swing in the Java code
> exported by Processing... so I think that I don’t need swing for now,
> at least in my current application.
> 
> Would you have an idea of the solution that I could explore as a
> priority?
> 
> Thank you very much for your response
> :)
>  
> 
>  
>  
> Le 08/01/2026 à 22:50, Joseph Huber via users a écrit :
>  
> > 
> > 
> > I don’t know what your Java application entails, but I have used
> > Webswing successfully with my NetBeans RCP applications (heavy use
> > of Swing) built on top of the NetBeans platform.
> > 
> > https://www.webswing.org/en
> > 
> >  
> > 
> > I didn’t have to make changes to the NetBeans code, but did have to
> > do some fiddling with the Webswing setup, as my applications store
> > configuration and job files locally.  If you aren’t using any Swing
> > components, then Webswing likely isn’t the right solution, or at
> > the least, would be overkill.
> > 
> >  
> > 
> > 
> > 
> > 
> > Thank You!
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > Joe Huber
> > 
> > 
> > 
> > Standard Refrigeration LLC
> > 
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > From: Faramir KAZ <[email protected]> 
> > Sent: Thursday, January 8, 2026 2:58 PM
> > To: [email protected]
> > Subject: export java to a browser
> > 
> > 
> > 
> >  
> > 
> > 
> > You don't often get email from [email protected]. Learn why this is
> > important [1] 
> > 
> > 
> > 
> > 
> > 
> > Hello,
> > 
> > I saw that there were several solutions to export a Java program to
> > make it work in a browser.
> > Has anyone ever done this from Netbeans?
> > 
> > :)
> > 
> >  
>  


[1] Learn why this is important
    https://aka.ms/LearnAboutSenderIdentification

Reply via email to