Why Swing does not work on android? Where is wora? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why Swing does not work on android? Where is wora?

Ya ya, i know that question is old, android only supports an XML way of designing interfaces. But my question focusses on "Why" android doesn't support Swing? A simple answer was given to me as "because it doesn't swing api installed in it". Hey, why cant it be installed? Because swing doesn't work on android; why? What i know is somewhere beneath android there rests Linux. So with a rooted phone, can i make Swing work on android? Ps- sorry if i 'over-elaborated' my issue.

28th Nov 2019, 2:18 PM
Anirudh Sharma
Anirudh Sharma - avatar
5 Answers
+ 1
It doesn't exist, everyone uses this compromises. There are some emulators and IDEs like Java N-IDE, but I think it is without Swing. Look for java FX.
28th Nov 2019, 5:31 PM
zemiak
0
Android doesn't provide true Java virtual machine and doesn't support all new features of Java
28th Nov 2019, 4:03 PM
zemiak
0
How about installing a true jvm(if it exists)
28th Nov 2019, 4:19 PM
Anirudh Sharma
Anirudh Sharma - avatar
0
As of all those ides, they don't even have the swing as a library installed on their default JDK
29th Nov 2019, 9:25 AM
Anirudh Sharma
Anirudh Sharma - avatar
0
JavaFx looks promising...
29th Nov 2019, 9:30 AM
Anirudh Sharma
Anirudh Sharma - avatar