sentence stringlengths 1 1.38k | label stringclasses 3
values |
|---|---|
You'll have to write a lot of boiler plate code just to get a decent UI that feels modern. | o |
Another weak area is theming. | o |
As of today, there are a lot of themes around. | o |
URL_http://geeknizer.com/best-java-swing-look-and-feel-themes-professional- casual-top-10/ [See-here-for-a-top-10] . | o |
But some are slow, some are buggy, some are incomplete. | n |
I hate it when I write a UI and users complain that something doesn't work for them because they selected an odd theme. | n |
3. | o |
JGoodies is another layer on top of Swing, like SwingX. | o |
It tries to make Swing more pleasant to use. | p |
The web site looks great. | p |
Let's have a look at the tutorial ... hm ... still searching ... hang on. | n |
It seems that there is no documentation on the web site at all. | o |
URL_https://www.google.ch/webhp?sourceid=chrome-instant&ie=UTF-8#hl=en&output=search&sclient=psy-ab&q=jgoodies%20tutorial [Google-to-the-rescue] . | o |
Nope, no useful tutorials at all. | o |
I'm not feeling confident with a UI framework that tries so hard to hide the documentation from potential new fans. | n |
That doesn't mean JGoodies is bad; I just couldn't find anything good to say about it but that it looks nice. | p |
4. | o |
JavaFX. | o |
Great, stylish. | p |
Support is there but I feel it's more of a shiny toy than a serious UI framework. | o |
This feeling roots in the lack of complex UI components like tree tables. | n |
There is a URL_http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm [webkit-based-component-to-display-HTML] . | o |
When it was introduced, my first thought was "five years too late. | o |
" If your aim is a nice app for phones or web sites, good. | p |
If your aim is professional desktop application, make sure it delivers what you need. | o |
5. | o |
Pivot. | o |
First time I heard about it. | o |
It's basically a new UI framework based on Java2D. | o |
So I gave it a try yesterday. | o |
No Swing, just tiny bit of AWT ( CODETERM3 ). | o |
My first impression was a nice one. | p |
There is an extensive documentation that helps you getting started. | o |
Most of the URL_http://pivot.apache.org/tutorials /push-buttons.html [examples-come-with-live-demos] (Note: You must have Java enabled in your web browser; _this is a security risk_) in the web page, so you can see the code and the resulting application side by side. | n |
In my experience, more effort goes into code than into documentation. | o |
By looking at the Pivot docs, a lot of effort must have went into the code. | o |
Note that there is currently a bug which prevents some of the examples to work ( URL_https://issues.apache.org/jira/browse/PIVOT-858 [PIVOT-858] ) in your browser. | n |
My second impression of Pivot is that it's easy to use. | p |
When I ran into a problem, I could usually solve it quickly by looking at an example. | o |
I'm missing a reference of all the styles which each component supports, though. | o |
As with JavaFX, it's missing some higher level components like a tree table component ( URL_https://issues.apache.org/jira/browse/PIVOT-306 [PIVOT-306] ). | o |
I didn't try lazy loading with the table view. | o |
My impression is that if the underlying model uses lazy loading, then that's enough. | p |
Promising. | p |
If you can, give it a try. | o |
With respect to JavaFXs webview, it's based on webkit URL_http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm and from a few short tests that i have done it seems to work fine with js in general (including jquery and jqueryui). | o |
@nvrs: Thanks, updated my answer. | o |
Not sure if this just wasn't true at the time of writing, but the JavaFX site states that it supports Linux. | o |
Great answer, btw. | p |
JavaFX is bundled with Java 7 since u06. | o |
Updated my answer. | o |
For number 1, the sentence "you can add new classes in that package because it's signed" has ambiguity. | o |
Do you mean cannot? | o |
@David: Good catch. | p |
Fixed. | o |
Tried Pivot demo "Kitchen sink", after opening some groups it keeps eating whole CPU. | o |
If it's because of Pivot design, then I definitely don't want it in my projects. | o |
Seems like I've found the source of problem and it's fixed in later versions: URL_http://apache-pivot-users.399431.n3.nabble.com/Expanders-Cause-Increased-CPU - and-Memory-Use-td4022102.html. | n |
JavaFX 8 (for Java 8 and above) has a TreeTableView widget. | o |
However, JavaFX 2.2 (for Java 7) lacks this, and also lacks standard error and info dialgos: see URL_http://stackoverflow.com/a/12760202/105137 . | o |
Also the ControlsFX widget library is available for Java 8 only: URL_http://fxexperience.com/controlsfx/ . | o |
URL_http://www.eclipse.org/swt/ [SWT] by itself is pretty low-level, and it uses the platform's native widgets through JNI. | n |
It is not related to Swing and AWT at all. | o |
The URL_http://eclipse.org [Eclipse-IDE] and all Eclipse-based Rich Client Applications, like the URL_https://www.vuze.com/ [Vuze-BitTorrent- client] , are built using SWT. | o |
Also, if you are developing Eclipse plugins, you will typically use SWT. | o |
I have been developing Eclipse-based applications and plugins for almost 5 years now, so I'm clearly biased. | o |
However, I also have extensive experience in working with SWT and the URL_http://wiki.eclipse.org/index.php/JFace [JFace- UI-toolkit] , which is built on top of it. | o |
I have found JFace to be very rich and powerful; in some cases it might even be the main reason for choosing SWT. | p |
It enables you to whip up a working UI quite quickly, as long as it is IDE- like (with tables, trees, native controls, etc). | p |
Of course you can integrate your custom controls as well, but that takes some extra effort. | p |
In your opinion, would an advanced component like a TreeTable with column sorting and filtering be a big issue with SWT+JFace? | o |
@netbrain: I have done that numerous times, it's fairly straightforward with JFace. | p |
This is what I meant by an "IDE-like" interface, maybe not the best choice of words. | p |
I would like to suggest another framework: Apache Pivot URL_http://pivot.apache.org/ [ URL_http://pivot.apache.org/ ] . | o |
I tried it briefly and was impressed by what it can offer as an RIA (Rich Internet Application) framework _ala_ Flash. | o |
It renders UI using Java2D, thus minimizing the impact of (IMO, bloated) legacies of Swing and AWT. | n |
I had the impression that netbrain was asking about desktop apps. | o |
For RIA frameworks, consider also GWT and Vaadin. | o |
These frameworks allow you to write in Java, compile and get JavaScript that runs very well on all common web browsers. | p |
can't pivot be applied for desktop applications? | o |
Maybe it is a matter of definition, but RIA frameworks are basically designed to run in browsers. | o |
@netbrain : Yes, you can run Pivot as desktop app (JFrame) or applet (JApplet). | o |
Swing + SwingX + URL_http://www.miglayout.com/ [Miglayout] is my combination of choice. | o |
Miglayout is so much simpler than Swings perceived 200 different layout managers and much more powerful. | p |
Also, it provides you with the ability to "debug" your layouts, which is especially handy when creating complex layouts. | n |
Miglayout reminds of the days where table tags in html were the standard for laying out elements on a page ;) Thanks for your contribution. | p |
Another option is to use URL_http://qt-jambi.org/ [Qt-Jambi] . | o |
It has nearly all the greatness of Qt (many components, good documentation, easy to use), without the hassle of C++. | p |
I used it 3-4 years ago for a small project, even then it was almost mature. | o |
You might want to see the discussion about Swing vs. Qt URL_http://stackoverflow.com/questions/422956/java-swing-or-java-qt [here] . | o |
My personal opinion: Go for Swing together with the NetBeans platform. | o |
If you need advanced components (more than NetBeans offers) you can easily integrate SwingX without problems (or JGoodies) as the NetBeans platform is completely based on Swing. | o |
I would not start a large desktop application (or one that is going to be large) without a good platform that is build upon the underlying UI framework. | p |
The other option is SWT together with the Eclipse RCP, but it's harder (though not impossible) to integrate "pure" Swing components into such an application. | n |
The learning curve is a bit steep for the NetBeans platform (although I guess that's true for Eclipse as well) but there are some good books around which I would highly recommend. | p |
Note that SwingX is components (AFAIU) that are extensions or compositions of existing Swing components. | o |
JGoodies OTOH is about PLAFs and layouts. | o |
But as you said, either will integrate seamlessly with Swing. | o |
+1 Base your development on Swing. | o |
Swing is built on top of AWT and includes light-weight components that look and behave the same on all platforms, so you never should use AWT components directly. | p |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.