The last cross platform desktop development I did was Java/Swing. What about flex?
问题:
回答1:
Don't do it. If you need to go cross-platform, write the main guts of your application in a business logic layer that doesn't depend on any GUI framework and then use the native platform API to finish each app.
Your users will thank you.
回答2:
I'd choose an open alternative and I'd try to avoid vendor lock-in. As Richard said, "if you've mastered Java/Swing why not use it again?"
回答3:
I've used RealBasic from RealSoftware for a few things just to play with it. It can get expensive if you need the pro version. It will allow you to build a stand alone binary for Linux, MacOS X, or Windows. I'm more of a server side guy but it was pretty straight forward to create the few tools I wanted to try making with it.
回答4:
Qt
回答5:
I'm a big fan of wxWidgets. My only experience with it is with C++.
回答6:
A combination of Python, wxPython, py2exe and py2app is what I typically fall back on. I've recently had a run with AIR, and it isn't that bad.. so Flex might work for you.
回答7:
Flex/AIR is a platform with a lot of potential. It's also a lot prettier than anything Java or .NET.
回答8:
I personally use Tcl/Tk because it is remarkably powerful and because deployment is a non-issue (with starkits and starpacks you can wrap all program resources -- images, sounds, dll/.so files, etc -- into a single executable file).
Tcl's not for everyone though -- some people find its simplicity a little hard to grok.
回答9:
Ignore Flex it's not programming IMO. If you can code Java I'm pretty certain that FLex will be a disappointment. Flex has a place, I don't really consider it a proper programming environment.
If you've mastered Java/Swing why not use it again? I would.
.NET can be portable - but IME it's not quite as easy to move stuff about as it is with Java (although it is better than it used to be).
Also, does it have to be desktop - I would seriously consider (a properly architected) rowser based desktop application.
回答10:
Eclipse RCP works. The result is decent on Windows and acceptable on Mac. It tends to be sluggish on Mac because of the high memory requirements though.
回答11:
C# with Framework .Net can be good not only for Windows but for Linux with Mono.
Microsoft have a CLI that work on MAC OSX10.2.