Give Java application a Metro Look and Feel in Win

2019-04-18 04:25发布

I have already developed a Java application which is working well in Windows XP, Windows 7 & Windows 8 consumer preview. The application is developed using GWT, CSS3 with Spring framework,and built-in Jetty server which is used to launch the application using the Internet explorer.

After exploring throught the metro apps principles, i want to give my application users an extra benefit of using is as a metro app

I read about DWR, gwt-explorer. But still i'm not sure. Is there any other workaround with minimum code changes?

Thank you Mr.Andrew Thompson for helping me.

4条回答
可以哭但决不认输i
2楼-- · 2019-04-18 05:10

You guys all need to re-read the post again or fully understand the technologies before you jump all over this guy. He is saying he developed in GWT which is Java compiled to HTML/Javascript which does work in metro.

I know this is an old thread but I can't stand when people do that, it just makes it more confusing for other people reading this question.

查看更多
Fickle 薄情
3楼-- · 2019-04-18 05:13

Metro style look and feel coming to Java?

I thought this was more to do with the Pluggable Look & Feel. Well don't wait, create! See:

查看更多
在下西门庆
4楼-- · 2019-04-18 05:16

You could mimic Metro style in a Java application. Here is an effort using the JavaFX UI framework:

http://pixelduke.wordpress.com/category/metro/

You can only use such applications in the desktop environment of Windows 8 though, not in the metro environment. But that could still be useful, depending on the case.

查看更多
我欲成王,谁敢阻挡
5楼-- · 2019-04-18 05:17

So I read the question again, and realized you're asking about how to get 'Metro' look and feel to a web application, and not a classic Java App..

Try this one http://metroui.org.ua/ Package provide a set of CSS and Javascript files to help your site have the metro look and feel.

HTH


::OLD ANSWER::

Java is NOT JavaScript in the same way that a CAR is not a CARpet.

Your best bet is to do your UI and parts that need to interface with the OS in a .NET language (C# or VB) and try to convert your existing Java code in to JSharp.

I cannot confirm that JSharp is supported to be used in a Metro Style app though.

Other options is that, if you have a web based alternative to your app, then you may have a better shot trying to convert than into a HTML/JavaScript Metro app.

Simply, Java and Metro, just don't get along, and they probably never will.

查看更多
登录 后发表回答