Using awt with android

后端 未结 2 1771

I have a Java Swing application which draws diagrams. It uses Graphics2D calls and awt objects such as Rectangle etc.

At some point I might want to port this to Andr

2条回答
  •  猫巷女王i
    2020-11-28 13:57

    The main problem is that you won't be able do create classes in packages named java.awt. But except that point, basically you can rewrite a library based on awt API.

    You can also check awt-android-compat project.

提交回复
热议问题