I've used Android-Studio for a long time, and I got used to it over Eclipse.
I wish to create an SWT app for PCs (windows, Linux, macOs) , and use a nice UI mechanism like Window-Builder that used to exist for Eclipse.
Is it a possible thing to do on Android-Studio or IntelliJ ?
If so, how?
There is no visual UI editor like WindowBuilder to create SWT UIs in IntelliJ.
But you certainly can create SWT applications with IntelliJ or any other non-Eclipse IDE for that matter. In my opinion, UI designer are overrated and UIs can be equally well implemented by hand. Thus if you are willing implement the UI in code you simply need to get a copy of the SWT library and you are set.
If you follow the redirects from this question it will guide you to maven artifacts of SWT:
maven project: SWT 3.5 dependency: any official public repo?
Note that SWT comes with a native part that might make extra settings necessary to launch your application.
Related
I am currently preparing for developing an IDEA plugin involving webview containing some information. Since I have developed a VSCode extension of similar functionalities and it uses many webviews, I plan to migrate those HTML to IDEA's plugin by JECF.
However, the functionalities require some interaction with the extension/plugin, as in VSCode I could click some elements of the webview and insert some texts into the editor by acquireVsCodeApi provided by VSCode itself. And I am not quite sure if such communication could be performed by using JCEF in the plugin of IDEA? (I am quite new to Jetbrain's plugin development and JAVA)
Great thanks for any suggestions.
Yes, this is possible. One way to do this is to separate your plugin into three separate modules:
A module containing the IDE-side plugin code.
A module that contains the JCEF browser code.
A module that acts as a message passing interface. This module will enable communication between the first two modules.
See the IntelliJ PDF Viewer plugin for a good example, in particular the kotlinjs-migrate branch. Another good place to start - and to keep an eye on while you figure out how the pdf viewer plugin works - is the IntelliJ documentation page about JCEF. The section about the JBCefClient might especially be of interest to you, though it is rather minimal.
I've been coding basic UIs in Java manually and using NetBeans, but recently switched to Eclipse Indigo. I use the visual class builder to design SWT user interfaces in Eclipse but found out that it's painfully slow and laggy. It takes about four seconds for a change to be displayed and it's virtually impossible to build complex and large UIs with it effectively. Is this its usual behavior and is this the preferred way of building a Java Swing GUI in Eclipse?
Since Google aquired Instantiations and then donated WindowBuilder to Eclipse foundation it is the preferred free, open source visual GUI editor for Swing, SWT and GWT.
You can also use Jigloo.
Their eclipse update site it, http://cloudgarden.com/update-site
I have used it in windows quite well. But when I use it in mac, most of the time it crash.
But windows builder seems better to me.
I had been using Netbeans all the while to develop Swing application. So far, I am a Happy Netbeans User
Currently, I had a project (GWT, J2EE and Swing), which I need to use Eclipse (Please do not ask Why)
Here is the step I had been taken.
Download Eclipse IDE for Java EE Developers (190 MB) from http://www.eclipse.org/downloads/ I thought this should be the correct choice, as I see most features are found in that edition http://www.eclipse.org/downloads/packages/compare-packages
After struggling a while to get use to the user interface of Eclipse, I still cannot find a Visual GUI Editor!
After doing some Googling, I realize I need to install something called Plugins
However, tones of plugins which had similar features has confused me, as I found
http://www.cloudgarden.com/jigloo/index.html
http://www.eclipse.org/vep/WebContent/main.php
http://code.google.com/p/visualswing4eclipse/
This makes me even more confuse? Which plugin I should use to develop a Swing based application? Most of them seems not up-to-dated. Or, is there any complete bundle I can download, where 1 click, will install all the necessary Swing development tools for me?
I just miss my Netbeans :( I really appreciate their team, who make the installation work so easy. One click button install, all the necessary tools just come to me
Eclipse users typically program UI by hand.
i'm new for java how can i add a button or others like Microsoft visual studio?
If you mean that you want a GUI builder, you'd better consider NetBeans with its Matisse. I think it is the most popular now for Swing apps.
This Google search shows a number of GUI builders for Eclipse
Many people prefer building GUI in Swing manually (just writing code) because it is by far not that difficult as in MSVC++ applications.
If you are looking for the Eclipse IDE to help with the development of Java applications, this can be found on eclipse.org.
Though I'm not sure I understood your question correctly.
What you are looking for is Eclipse Visual Editor. However, as pointed out by others, the GUI Builder from NetBeans (formerly known as Matisse) is more popular for Swing development.
Download Netbeans, its visual editor is very good, and will give you a the perfect Swing User Interface. Its also very easy to use.
When making desktop applications, i always do it with Netbeans, if i know the application will be more complicated later, then i do only one or two JFrame classes with Netbeans, and use them in a new project in Eclipse :)
The one that ships with IDEA is nothing more than a GWT project creation tool. Is there a better plugin? Is there a standalone GUI editor for GWT?
To answer your question directly, there is no such thing as a Intellij IDEA GUI WYSIWYG editor for GWT for the moment.
The most popular/feature complete WYSIWYG editor for GWT is Instantiations GWT Designer. It is available only for Eclipse though.
The GWT team also provide a list of tools and libraries.. It seem rather incomplete though as it does not list Ext-GWT and GWT-Ext libraries (the most popular widget libraries).
Be warned however that most WYSIWYG editor only support the basic widgets of GWT. If you have custom widget, you may not be able to use them in the editor.
[Edit] As of August 2010, Instanciation has been acquired Google
I've never used these personally but a few things I've found include:
http://www.gdevelop.com/ (extension to JDeveloper so it might not be appropriate for you if you're using IDEA and not wanting to download and use JDeveloper for your GWT project)
http://code.google.com/p/gwt-html-editor/
You have here a pretty comprehensive list of GWT plugins/editors. Those are geared towards GWT projects creation, and not so much towards GUI.
However, you also have VistaFei (not very active at the moment, but worth checking out). It comes with its own eclipse distribution:
alt text http://blogs.zdnet.com/images/burnette_vistafei_control_grid_398.png
A visual Integrated Development Environment (IDE) for building AJAX apps based on Google Web Toolkit (GWT) for all AJAX-enabled platforms. Applications are built by "drag & drop" from a Palette on the basis of What You See Is What You Get.
VistaFei is a visual feature-full Java development environment geared towards apps development based on GWT. Applications are developed in Java then compiled and debugged using GWT Compiler and Debugger, and launched to a browser all from within same environment.
Unfortunately, there really isn't one yet. We're going to have to wait until 2016 when Google takes over the world; everything will be so much easier then! ;)