java - 怎么开发windows桌面程序?
PHP中文网
PHP中文网 2017-04-18 10:16:09
0
11
1340

用java和c#这两个语言开发桌面程序,最先进的技术分别是什么?
我学过android开发,和android开发风格差不多的(就是用xml做布局)的java桌面开发技术是什么?c#桌面开发技术是什么?

谢谢大神们

PHP中文网
PHP中文网

认证0级讲师

reply all(11)
左手右手慢动作

Java uses J2SE’s awt, swing or javafx, and C# uses winform, wpf or uwp.

黄舟

Traditional as @RobinTang said.

If you don’t mind JS, you can take a lookElectron, which is currently a popular desktop application development tool.

Reference:
https://www.oschina.net/p/ele...

Peter_Zhu

If you want to develop desktop programs for Windows now, it is basically the ones mentioned above.
If you only consider the windows platform, then it is best to use winform or wpf. After all, it is natural, and it is indeed easy and beautiful to develop.
If you want to consider cross-platform, you can choose swing or Qt.

大家讲道理

javafx

Ty80

Those who use XML-like layouts on the desktop now include the outdated DirectUI (C++), Qt's Qt Quick (C++), Microsoft's outdated WPF and the newly launched UWP (C#), as well as the more fashionable ones based on Node. Electron for js (HTML+JS).
Java desktop development generally uses Swing and other writing interfaces, and uses code to control the layout. One is that it may not match the system style (Java has its own Look and Feel), and it is slow and the experience is poor. Typical representatives include NetBeans ( Good-looking but slow) and Eclipse (ugly but slow). Basically no one uses the new project.
C# has WinForms and WPF. The former is close to the native program, and the layout is also controlled by code, but the IDE can directly drag and drop the design interface. The latter is more suitable for more gorgeous graphics programs. WPF is slower so few people use it. C# now has a UWP program launched by Win10, but it does not support previous systems and is currently rarely used.
Electron is an encapsulated HTML engine of Chrome. It can flexibly design the interface with HTML and control it with JS. It is more suitable for B/S applications. It is a little slow, but it can be very smooth if written well, such as Visual Studio Code.

Ty80

Thanks for the invitation.
Regarding this aspect, I only played swing when I was in school. I don’t feel qualified to speak. However, it seems quite convenient to see others using C# to do this under VS.

洪涛

Domestic Javaers rarely play with Java GUI, this thing is really weird! When I was in college, I used Netbeans to drag and drop to add controls. I felt like I didn't even learn the basics. I had never used a GUI after I graduated, and I really had no say. .

迷茫

Windows desktop program, if you don’t consider cross-platform, but if you consider the time cost, C# is definitely the first choice
C# uses winform or wpf, while WPF uses XAML for layout, and the syntax of xaml is based on xml.

小葫芦

j2se j2me j2ee

巴扎黑

If you develop Java interface, you use Java swing or javafx to write the interface. Most of them use javafx to write the interface

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template