From: Panayotis K. <pan...@pa...> - 2012-03-18 11:25:18
|
On 17 Μαρ 2012, at 10:16 μ.μ., Sam Reid wrote: > Swing Support in Java -> iOS > > I've seen in earlier threads that J2SE support for Java -> iOS is nearly complete (for C backend), but lacking support for Swing (and AWT). What would it take to add support for Swing for Java -> iOS? In order of importance, I'd say the features in order of most to least important for my project would be: > > *most important > Java2D (including Graphics2D and java.awt.Shape classes) > Containers (like JComponent and JPanel) > Layouts > UI components like JButton/JCheckBox > Composite UI components like JSpinner > Specific classes like JTable > *least important > > I just wanted to see if anyone else has taken steps in this direction, or has thought about what it would take to get there. Is there some small set of native methods that we would need to implement, or would it be necessary to provide a complete implementation of native AWT peers (as I understand it is done for desktop Swing applications). > > Thanks! > Sam My understanding from Swing, is that it only needs a small subset of AWT to be ported and then everything is drawn by the library itself. This "small" subset though is not so small, because all native 2D-3D methods should be implemented, as well most basic peers (like windows and awt canvas) |