Sun to Amp Java for Desktop Performance?
mactari writes "Java client application developers should take a look at Sun's J2SE Client Developer Survey. Swing's relative slowness has always made a Java app with a GUI look and feel slow, and Sun might finally be doing something about it. Questions on the survey suggest Sun is considering moving away from a crossplatform look and feel (eg, Metal) towards native looks by default. If Sun is going to follow the suit played by IBM's native widget toolkit, SWT, or do things on individual platforms like Apple has done with its hardware accelerated version of Aqua-Swing, Java might finally find its way to becoming a competitor on the desktop."
The bindings are possible. You can use JNI (Java Native Interface) to hook Java code directly to C or C++. It's a tad contorted, but not nearly as torturous as using CORBA to do it.
Bindings are possible. For example:
Java-gnome Just check out google for others.
Who said Freedom was Fair?
limewire is free software, if you want it to be. it's open-source. download and see for yourself. or here's the javadocs, if you're so inclined.
Go look for other "look and feel" packages like this one...
Secondly, since Swing is NOT THREADSAFE it is already mandatory to implement any code that touches the UI in the event handler. What. You didn't know that?
Did you read my post? One of the things I pointed out was how easy they made it to run things in the event loop when you were done. Not being comfortable writing callbacks is a really scary 'programmer' attribute. It was done for performance reasons, knowing the order of drawing makes alpha blendings much more efficient. Even if alpha is 1.0. It's also more memory efficient, you don't need to buffer all the mostly hidden panels. Double buffering in SWING only needs a single copy per AWT object. (JFrame, JWindow, etc.)
I do not want to implement an entire data model just for a drop-down list thank you!
I agree with this, but it's not the complaint I hear most. It's surprisingly cumbersome to use things like a table. I've implemented ones large enough that their approach made sense, but often I'm just using one for convenience and then the whole stamping thing isn't worth the annoyance.
I looked at the survey and I think they're just considering whether to suck up the gtk/KDE L&F, and whether to make that the default L&F. Someone was telling me the Eclipse IDE does this for gtk to good effect.
Umm...Eclipse uses SWT which uses native UI elements on platforms where it is implemented. The only time it emulates something is if there isn't a native widget.
My blog: http://jkratz.dyndns.org/~jason/blog/
Hate to break this to you but C#/.NET Framework is no speed demon. Its about the same as Java.
My blog: http://jkratz.dyndns.org/~jason/blog/
well, taste differs. if you want to have VB-like drag-n-drop UI design functionality why not go for Fotre (or it's m,ore on the edge cousin Netbeans) or go and buy JBuilder from Borland. THere're other RAD IDEs that spring to mind as well, VisualCafe' for example (haven't used it for ages though - NetBeans and IntelliJ does all I want)
if (!signature) { throw std::runtime_error("No sig!"); }