Am I the only one fed up with Swing?
What widgets libraries are usable to replace swing? I'm sick and tired of trying to figure out how to make something look the way I want it to under Swing. :@
|
Eclipse and swt
|
Re: Am I the only one fed up with Swing?
Quote:
|
Programming model. I think Swing is too painful to "play" with.
|
you can download ebooks or buy books. Once you understand swing, it is easy maybe not such as visual basic...java itself is simple compared to C++ or C.
|
I know, I know... But I just don't find myself confortable programming Swing.
I think there might be other "toolkits" available. GTK or other stuff. |
I certainly don't want to get to the extreme of having to work with JNI to use other toolkits.
|
Picking native toolkits, SWT is one, breaks portability, one main java objective.
Java application should run on all supported JVMs without the need of extra, O/S and CPU dependant, libraries (dlls). You'd better think again, and not give up on Swing with which many developers are confortable. |
try the VE plugin for eclipse, it has a swing GUI builder, it's been a time saver for me.
http://www.eclipse.org/vep/ |
OK... I'll give it a try.
I'm trying to install the VE plugin. I downloaded the zips for ve, gef and emf. But when I try to add the "local sites" and add the features, it says: Code:
Requested operation cannot be performed because it would invalidate the current configuration. See details for more information. |
Cocoa
I don't know if you have the means, but on OS X, the developer tools fully support Java. So you could, for instance, start a Java-Cocoa project in Xcode, and design the interface (and the Controller-UI interactions and outlets) visually in Interface Builder. Apart from the obvious advange of designing a UI visually by hand, another advantage of this is that Interface Builder can constrain you to Apple's Human Interface Guidelines (HIG), which dictate, for example, how far widgets can be from other widgets. So, Interface Builder will "snap" widgets on forms, as you place them. The results are forms and widgets that appear harmonious to other windows the user has open.
And, as an aside: in Xcode 2.0 (which comes with OS X 10.4 "Tiger"), Ant builds are supported. Many other Java enhancements have also been added in Tiger and Xcode 2.0. |
you just need to unzip the zip files and put them in eclipse folder (the plugins are already in the correct directory structure). after you restart eclipse, you can create a new class by going to: new -> other... -> java -> visual class.
|
Is it possible to do it keeping them in a different directory? Let's suppose I have eclipse under /usr/ (where I do have it).
|
...and don't want to mess with the original directory.
I want to work on the files in my home. |
All times are GMT -5. The time now is 11:49 AM. |