File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Sample Code for a SIMPLE IDE in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Sample Code for a SIMPLE IDE in Java" Watch "Sample Code for a SIMPLE IDE in Java" New topic

Sample Code for a SIMPLE IDE in Java

Craig Boyd

Joined: Aug 30, 2010
Posts: 21
Hello All,

Is there a sample project somewhere with simple code that would show me how to put together a very simple IDE kind of thing? For example, I would like to be able to create objects on a screen (Canvas?) and drag them around on the screen.


Luigi Plinge
Ranch Hand

Joined: Jan 06, 2011
Posts: 441

It may not be quite what you're looking for, but the NetBeans Platform provides a framework for doing this sort of thing. You might like to have a look at the paint program that is one of the supplied code samples.

You could program it from scratch using the standard Java Platform, but it wouldn't be "simple"... it would be long and complicated, and there's no need to re-invent the wheel.

I'm not sure but I think Eclipse has something similar, based around SWT (an alternative to Swing that uses native widgets).
I agree. Here's the link:
subject: Sample Code for a SIMPLE IDE in Java
It's not a secret anymore!