How to use drag and drop in IntelliJ for java swing - java

I am using IntelliJ for java application development using swing . It is difficult to manage content using layout manager. So, is there is any facility to make drag and drop features like in visual studio for vb.net...

You can use IntelliJ's GUI designer
JetBrains website has some resources detailing how to use it:
Designing GUI. Major Steps
Creating and Opening Forms
GUI Designer Basics
Components of the GUI Designer
There are also several walkthroughs available on YouTube
Here are a few screen shots showing how to launch/display the designer:
The designer:

Related

How to get "Eclipse View" widget from SWT Library?

As far as I understand, SWT is the GUI building block for Eclipse IDE.
And in Eclipse, we have a concept of "View" widget, such as the following example:
The "View" widget can be docked, minimized, maximized, and can also be made floated.
I think it will be useful for my project, but unfortunately can't find it in the standard SWT Widget shown here http://www.eclipse.org/swt/widgets/
How to create this widget in SWT? Can I just extract it from the SWT library. Or perhaps, it is shipped as extension to SWT?

java fx editor in netbeans

I want to make an animation using Java FX.
Basically, I don't know where to start. I've been looking for a Java FX editor and I found out that there is an editor apart from netbeans. But that editor, now is integrated to netbeans (after netbeans 7.x.x) and I can't find the way of making a Java FX animation using the modern version of netbeans.
And, can I make an animated frame, just one? So that the rest of the frames keep the same as they were before (non-animated) ? Or do I need to start a whole new animated project and do all the coding in Java FX?
Thanks
Java FX is not just an animation, presentation or game building tool like Flash, but a great UI framework with the power and flexibility of Java.
It is a relatively new technology that there is no Flash like tool to do complex drawings and animations, AFAIK.
I guess you mentioned about Scene Builder as the NetBeans integrated editor in your question. Scene Builder lets you build UI through drag & drop just like the NetBeans Swing GUI Builder or Visual Studio. It uses a special XML based markup language called FXML to write the UI.
Unfortunately, It runs a lot slower than it should, even on a 3 GHz Intel Pentium 4 CPU.
IMHO, the best option is to programatically code your UI in Java FX.
Resources
Official Java FX 2 Getting Started Tutorial
JavaFX 2 Scene Builder Tutorial
Another Java FX Getting Started Tutorial

Is there a real Android visual designer for IDEs?

I'm trying to develop an Android application with UI. So it's little complex for me to create UI with codes. I was using Visual Studio for long time where visual design is piece of cake. I also used Netbeans and Eclipse for java applications with UI but when it comes to Android I can't find a good way for UI desing. There is a visual design part in Eclipse but I want to use Netbeans as long as it's possible. Also I think DroidDraw is not good enaugh too. So I seached on web for Netbean's visual design tool and found nothing. If there is no tool or plug-in like this WHY? Thank you for any help.
Edit:
Well, long time passed. I just get used to code my ui. Also I am using Android Studio. 8)
edit
just saw that you've used DroidDraw.
There is official GUI designer included in ADT. Browse for main.xml (project/res/layout/main.xml) and doubleclick it :)
enjoy!
The combination of ADT (Android Development Kit) and eclipse 3.1 + will help you to develop the application graphically. Once you open the layout xml files, click “Graphical Layout” tab at the bottom of the section to open the graphical view. Now you can drag and drop components & also update layout.
But it is better to understand how the xml is defined in the layout. This will help you to fix any problems (in case).
Hope this helps.
Using Embarcadero RAD Studio XE7 (delphi or c++builder) allows for that task but it builds apk files with ome 10mo,

Java: Buttons and Labes Layout

What way would you suggest to layout (locate) Jbuttons and Jlabes in java in the fashion depicted in the picture below? Is there any tool for visually being able to place the components on a form in Java, rather than specifying the component locations in the code one by one.
Thanks
I am using eclipse
You can use Swing GUI Builder for visually layout component.
For Eclipse you can use WindowBuilder. Look for Installation guide with update site of eclipse. Also take a look at the Tutorial.
Yes, NetBeans comes with a visual UI builder for Swing.
Use NetBeans, its have a create GUI tool!

Create GUI using Eclipse (Java) [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Best GUI designer for eclipse?
Is there any Eclipse Plugin tool(s) who can help to create Graphical User Interface for (swing, awt or swt), because I'm tired of writing everytime the code of Panels, Labels, ...
Thanks
Yes. Use WindowBuilder Pro (provided by Google). It supports SWT and Swing as well with multiple layouts (Group layout, MiGLayout etc.) It's integrated out of the box with Eclipse Indigo, but you can install plugin on previous versions (3.4/3.5/3.6):
There are lot of GUI designers even like Eclipse plugins, just few of them could use both, Swing and SWT..
WindowBuilder Pro GUI Designer - eclipse marketplace
WindowBuilder Pro GUI Designer - Google code home page
and
Jigloo SWT/Swing GUI Builder - eclipse market place
Jigloo SWT/Swing GUI Builder - home page
The window builder is quite better tool..
But IMHO, GUIs created by those tools have really ugly and unmanageable code..
Yes, there is one. It is an eclipse-plugin called Visual Editor. You can download it here
try http://code.google.com/p/swinghtmltemplate/
this will allow you to create gui with html-like syntax

Categories