i have a java swing application which work perfectly well on windows 7 computer and i am sure it should work on a windows 8 computer(right?)
How would i port this application so that it runs on a Windows 8 tablet, like the Microsoft surface tablet, can swing applications run on windows 8 tablets
There is no way you can use swing in android, because android is not based on JavaSE, while swing is. android uses a special java that is designed to run on DVM . Even if their is no compatibility issue. Swing is used for desktop apps which differ in their UI completely from mobile apps.
Webswing is a web server that allows you to run any Java Swing application inside your web browser, using only pure HTML5.
Step 1: Open Eclipse and click File > New > Java Project. Step 2: Provide the Project Name and click on the Finish button. Step 3: In the Package Explorer (left-hand side of the window) select the project which you have created. Step 4: Right-click on the src folder, select New > Class from the submenu.
As far as i know the only way to create a metro style application for Windows 8 is using WinRT and the only supported environment for now is .NET, so at the moment Swing applications can run only in the desktop app of Windows 8, but they are not "app" and they are not seamlessly integrated in the OS, and they can't be deployed through the Microsoft Store .
If as you stated in a comment you don't care to run the application as a real app, but you just want to run the app through the classic desktop, it is enough to buy a tablet with Windows 8 pro and you will able to run the application in the "legacy" mode(older way through Desktop) ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With