matthiasblaesing commented on PR #6892:
URL: https://github.com/apache/netbeans/pull/6892#issuecomment-1906626244

   > text, I was looking at [Tauri](https://github.com/tauri-apps/tauri) 
recently, which is using [WRY](https://github.com/tauri-apps/wry). Tauri is a 
lightweight Rust Electron alternative that embeds native webview components 
from the OS. I'm not sure if there's a Java library that can do similar, or how 
easy to replicate with JNA it might be???
   
   The hard part is most probably not binding to the target engine and getting 
something on screen, but binding to the target engine and getting something 
into a swing component. If I remember correctly a long time ago someone 
complained, that JNA can't access the windows handle on mac OS, but nobody 
bother to implement it. 
   
   > I also wanted to make a preview for SVG, I guess using HTML and a browser 
is better then smth else.
   
   Are you looking for 
https://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/swing/JSVGCanvas.html
 ?
   
   
https://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/swing/JSVGCanvas.html
   
   >We are not talking about just rendering plain old stuff, but everytime I'm 
using stuff to render HTML it looks odd and not full featured.
   
   I think there was a discussion about providing a base CSS to get better 
looking markdown rendering, but no one bothered to actually do the work.
   
   The question that needs to be answered: Who does the heavy lifting when 
platforms should be added (Windows arm64, Linux riscv, Other OSes)? Swing is 
currently a pretty save bet, but Chromium porting? For Linux we will see a time 
where multiple windowing environments will coexist (X11 and Wayland), what will 
be the consequence for JCEF?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to