开发者

Exporting from Java Swing/Graphics to HTML

开发者 https://www.devze.com 2023-01-19 04:41 出处:网络
I wrote small java Swing/canvas program where I 开发者_Python百科can draw some textboxes. Now I\'d like to export those text areas to a set of HTML div.

I wrote small java Swing/canvas program where I 开发者_Python百科can draw some textboxes.

Now I'd like to export those text areas to a set of HTML div.

What would be the best way (font-family ? font-face? css selectors ?) to obtain the same rendering as in Java ?

Thanks


I think, better way is rewriting program using some abstract views. And then implement this views for swing/web.

0

精彩评论

暂无评论...
验证码 换一张
取 消