I want to create a desktop application, but do not want to use SWING. I have heard about of SWT as alternative to SWING. Any another solutions exists? And what do you recommend to use?
You can build an Eclipse Rich Client Platform (RCP), using SWT and JFace.
What about just AWT in java.util.awt and subpackages? You can use the older equivalents of Swing's components.
Related
Is SWT only in use for Eclipse? Like is it basically Eclipse's version of Swing? I was reading some stuff online when I thought of this.
Ex. http://www.mkyong.com/swt/swt-hello-world-example/
Is SWT only in use for Eclipse?
No.
SWT: The Standard Widget Toolkit
SWT is an open source widget toolkit for Java designed to provide efficient, portable access to the user-interface facilities of the operating systems on which it is implemented.
http://www.eclipse.org/swt
I've heard rumors of people creating their own custom libraries for one, but I have yet to find one for myself. I need it because I need to mount another running applet (in a JPanel in Swing) for my application.
No, at least not in an officially supported way.
There is the SwingView in the ThingsFX 3rd party library to do this.
I've never tried it, so I can't recommend for or against it.
ThingsFX has a website.
Here is a screenshot of Swing components rendered on a JavaFX Stage using ThingsFX.
We are going to create a java standalone Desktop application. We are searching for the best solution for the presentation layer. I saw javaFX and really liked it, but I am a bit confused. Can it be used in standalone Desktop applications?
Can I use javaFX in my standalone Desktop app and also use css to style the Ui?
It is perfectly possible to use JavaFX in a standalone Desktop app and apply CSS styling to it.
In JavaFX's lingo, this is know as a "Standalone" or "Self-Contained" deployment.
You can even integrate it with Swing or SWT, if the need arises. Note, though, that it's not possible the other way round.
Is there any way to integrate JavaFx 2.0 GUI within the Netbeans Platform Application? I've tried searching the topic but did not come across what I was looking for.
I am not very familiar with Netbeans RCP but it is swing based so you can embed your Java FX 2 components the same way you would embed them in a Swing application: use JFXPanels for the FX2/Swing bridge and then embed those panels in RCP the same way you would add a Swing component.
I have also seen
this tutorial but have not tried it
and this related question on SO.
I'm writing an app in Java and swing using Netbeans, and I need property editor (like this). How I can add it to my application?
I really recommend using the NetBeans Platform. It's really simple and well documented rich client platform. Then you can use exactly the same property editor as in NetBeans. Porting from plain Swing applications to NeatBeans RCP is quite simple too.