How to mimic skinned java swing with .net means?
Question in short:
What is the easiest way to mimic a swing based (skinned, customized) java GUI with .NET
means?
Question explained:
Our main app has a swing based skinned (and customized) java GUI.
Apart from that we are going to build some smaller GUI equipped tools. Some of them will be .NET
base开发者_如何学God windows applications with a windows forms GUI.
Now, to get a uniform user experience the GUIs of these .NET tools
should be as close to our java based GUI as possible in both appearence and handling.
What is the easiest way to accomplish this?
What is the easiest way to accomplish this?
The easiest way to get a uniform Swing / Swing-like user interface is to implement everything in Java and Swing.
I've not heard of a Swing look-alike UI library for .NET. I guess it is theoretically possible, but it would be a lot of effort: probably orders of magnitude more work than implementing the tools the easy way.
So your practical alternatives are 1) implement the new tools in Java / Swing, 2) reimplement the old tools in .NET, or 3) forget about having a common UI look-and-feel.
This is not a joke answer ...
Try Windows Presentation Foundation (WPF) Themes instead WinForms as allow to change the controls Look & Feel. I think is not as easy and pluggable like Swing but could serve as an starting point.
精彩评论