Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

running java swing application on windows 8 tablet

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

like image 545
yahh Avatar asked Oct 17 '12 19:10

yahh


People also ask

Can Java Swing run on Android?

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.

Can Java Swing be used in web applications?

Webswing is a web server that allows you to run any Java Swing application inside your web browser, using only pure HTML5.

How do I run a Java Swing program in eclipse?

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.


1 Answers

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) ...

like image 200
aleroot Avatar answered Sep 22 '22 01:09

aleroot