How to Build a Swing GUI Builder kind of Application - swing

I want to develop an application like Swing GUI Builder where drag and drop of contents over the workspace will be possible.
How to achieve this? Is there any reference available.

This would be a huge task. Project Matisse did a lot of work on this which is now incorporated into the Netbeans IDE. This link is an interview with the person behind the matisse project, and talks about some of the challenges and how the team overcame them. You can use the layout manager they created, and looking through the Netbeans source code would probably give you some idea of how to go about building what you want.

Download NetBeans from NetBeans.org, make sure you have the JDK (Java Development Kit), and use the GUI Builder in NetBeans. It's drag and drop and is easy to use. Documentation can be found at the homepage, and you should take a quick look at this tutorial.

Related

How to use HTML5 in Netbeans?

I'm developing a program, and wanted to use html/css/jsp in Netbeans for GUI because I used this program for my another JAVA project. It was very helpful for me to do GUI like JFrame, JButton etc..
Can I not use Netbeans like I did? There's no design part when I made a web application.
If you are looking for drag and drop like java then netbeans not provide facility for web designing. There is no design part you have to code yourself for even a single buttotn.
A simple tut for netbeans
The another resource you may need is
visualwebdev
Also html5 fun pack may come handy.

Is there a way to setup a Netbeans HTML5 and Web application project?

The new Netbeans 7.3 Beta 2 adds a really nice feature for creating an HTML5 application. It also provides a great way to create a Java Server based Web Application. But there does not appear to be any way, within the Netbeans IDE, to take advantage of both technologies in one project.
Is there a way combine these two type of projects, so there is only one web directory structure with both the HMTL5, js, and web services files?
This is definitely planned for the next release, but it is not yet possible in NetBeans 7.3. You can follow this enhancement request to see progress in this area: http://netbeans.org/bugzilla/show_bug.cgi?id=222236. If you'd like to experiment with this, you can build NetBeans with the patch attached to that issue.

need help getting started on simple Eclipse wizard / plugin

I have written some Java classes that do something useful. I'd like to wrap the functionality in a simple Eclipse plugin. Basically you'd right-click on an object, click the "launch my wizard" option and the wizard would have 3 or 4 pages of options ... next, next, next, finish. And the useful stuff happens.
Can someone tell me where to start in building such an Eclipse plugin? Also, I have Swing experience, can I build the UI in Swing or does it have to be SWT?
Any help is greatly appreciated. Thanks!
Rob
Read Eclipse Corner Tutorial on creating new wizard.
If you want to implement some kind of import/export wizard, take a look at Developing Export Wizard for Eclipse
Cheers,
Max

Which maven2 archetype to use for a Swing desktop application?

I want to build a small Swing application today and use maven2 for the build/test lifecycle.
But I don't know which archetype I should choose to create the project. Is there something available for a desktop application? Or do I start with the simple archetype (no #3 in the interactive setup)?
I would choose the simple or no archetype at all. Perhaps the Maven Quickstart Archetype.
Swing is part of Java (at least in more recent versions). I am not aware of any archetype that is targeted at Swing desktop applications.
Some previous posts:
Maven2 & Swing projects: Build & run swing application
How to create a swing application using maven?
The Quickstart Maven archetype works well. It produces a minimal structure useful for Swing and command line applications.
I was creating the same boilerplate on every little swing project I was creating, so they could have the same look and feel, so I created one that suffices my needs... As some assets are destined specifically to me, you would probably have to change them, but I find that a good starting point:
It is hosted on github

Flash/Flex E-Learning framework

I have started to develop E-Learning application and want to know Are There any frameworks for create interactive courses using flash. I think it should be something like this:
Should be core engine for read and preview each lesson.
Each lesson should be described in xml (or something like that) file.
User (administrator) can add new lesson as xml file with resources (I mean images, video and so on) without changing core engine.
Can you help me to find framework with above functionality or I should create it manualy?
Thanks.
Maybe this one: Open source e-learning platform for flex 3
We have decided to write own domain specific framework because I have not found any framework with good functional.