• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sample Code for a SIMPLE IDE in Java

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks,

Craigbert
 
Ranch Hand
Posts: 441
Scala IntelliJ IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
reply
    Bookmark Topic Watch Topic
  • New Topic